Authentication system for the OpenStack Foundation site
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
smarcet 0f1397f4ab Fix on User Search (ADMIN) 1 week ago
app Fix on User Search (ADMIN) 1 week ago
bootstrap IDP Upgrade from Laravel 4.X to 5.X 3 years ago
config Added Rabbit MQ config 3 weeks ago
database Added Rabbit MQ config 3 weeks ago
doc/source Switch to openstackdocstheme and latest Sphinx 1 year ago
playbooks Use correct hosts set in post playbooks 4 months ago
public Fix on User Search (ADMIN) 1 week ago
resources Improved session end flow 3 months ago
roles/setup-test-laravel-env Convert remaining jobs to Zuul v3 native 4 months ago
storage IDP Upgrade from Laravel 4.X to 5.X 3 years ago
tests Added Rabbit MQ config 3 weeks ago
.babelrc Migrated bower dependencies 2 years ago
.env.example Added Rabbit MQ config 3 weeks ago
.gitattributes IDP Upgrade from Laravel 4.X to 5.X 3 years ago
.gitignore Added copy 2 clipboard feature on OAUTH2 Client Data 4 months ago
.gitreview OpenDev Migration Patch 1 year ago
.zuul.yaml Convert remaining jobs to Zuul v3 native 4 months ago
CONTRIBUTING.md [smarcet] - Refs #4590 - Create initial solution and upload to git repo 6 years ago
artisan Migration to PHP 7.x 1 year ago
behat.yml OIDC - OpenId Connect Implementation 4 years ago
bindep.txt Migration to PHP 7.x 1 year ago
clear_logs.sh IDP - User Management 5 months ago
composer.json Added Rabbit MQ config 3 weeks ago
composer.lock Added Rabbit MQ config 3 weeks ago
gulpfile.js IDP Upgrade from Laravel 4.X to 5.X 3 years ago
package-lock.json Added copy 2 clipboard feature on OAUTH2 Client Data 4 months ago
package.json Added copy 2 clipboard feature on OAUTH2 Client Data 4 months ago
phpunit.xml Migration to PHP 7.x 1 year ago
readme.md Fixed mappings to be valid with doctrine validate tool 4 months ago
requirements.txt upgraded sphinx version 9 months ago
server.php Migration to PHP 7.x 1 year ago
setup.cfg Pin mockery to a release which supports PHP 5.3 5 years ago
setup.py Add boilerplate for Sphinx doc rendering 5 years ago
tox.ini Add boilerplate for Sphinx doc rendering 5 years ago
update_doctrine.sh IDP - User Management 5 months ago
webpack.config.js Added copy 2 clipboard feature on OAUTH2 Client Data 4 months ago
webpack.mix.js Migration to PHP 7.x 1 year ago

readme.md

OpenstackId Idp

Prerequisites

* LAMP/LEMP environment
* Redis
* PHP >= 7.0
* composer (https://getcomposer.org/)

Install

run following commands on root folder

  • curl -s https://getcomposer.org/installer | php
  • php composer.phar install --prefer-dist
  • php composer.phar dump-autoload --optimize
  • php artisan vendor:publish --provider="Greggilbert\Recaptcha\RecaptchaServiceProvider”
  • php artisan migrate --env=YOUR_ENVIRONMENT
  • php artisan db:seed --env=YOUR_ENVIRONMENT
  • phpunit --bootstrap vendor/autoload.php
  • give proper rights to app/storage folder (775 and proper users)
  • vendor/bin/behat --config /home/smarcet/git/openstackid/behat.yml

Permissions

Laravel may require some permissions to be configured: folders within storage and vendor require write access by the web server.

chmod 777 vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer

Permissions

Laravel may require some permissions to be configured: folders within storage and vendor require write access by the web server.

create schema

php artisan doctrine:schema:create --sql --em=model > model.sql

Doctrine Migrations

create new migrations

php artisan doctrine:migrations:generate --connection=model --create=

check status

php artisan doctrine:migrations:status --connection=model

run

php artisan doctrine:migrations:migrate --connection=model

start queue worker

php artisan queue:work

create super user

php artisan idp:create-super-admin {email} {password}

seed db

php artisan db:seed --force --env={env}