RETIRED, Authentication system for the OpenStack Foundation site
Go to file
smarcet bd18981aac Fix on logout missing user hint
Change-Id: I07c8a65898315e849d861d963d60d77431aa9ef3
Signed-off-by: smarcet <smarcet@gmail.com>
2021-07-12 16:14:48 -03:00
app Fix on logout missing user hint 2021-07-12 16:14:48 -03:00
bootstrap IDP Upgrade from Laravel 4.X to 5.X 2016-11-17 18:37:40 -03:00
config Updated Redis config 2021-01-11 23:49:18 -03:00
database Auth Code Flow PKCE support 2021-02-05 12:19:19 -03:00
doc/source Switch to openstackdocstheme and latest Sphinx 2019-04-09 17:23:32 +00:00
playbooks Updated composer 2020-10-27 13:42:41 -03:00
public Removed files by security scan 2021-05-12 11:01:09 -03:00
resources Change fields input format from HTML to MD 2021-04-14 11:33:59 -03:00
roles/setup-test-laravel-env Convert remaining jobs to Zuul v3 native 2020-02-26 01:36:02 +00:00
storage IDP Upgrade from Laravel 4.X to 5.X 2016-11-17 18:37:40 -03:00
tests Auth Code Flow PKCE support 2021-02-05 12:19:19 -03:00
.babelrc Migrated bower dependencies 2018-04-10 11:47:09 -03:00
.env.example Added Rabbit MQ config 2020-06-23 08:14:05 -03:00
.gitattributes IDP Upgrade from Laravel 4.X to 5.X 2016-11-17 18:37:40 -03:00
.gitignore Removed files by security scan 2021-05-12 11:01:09 -03:00
.gitreview OpenDev Migration Patch 2019-04-19 19:25:33 +00:00
.zuul.yaml Updated Zuul jobs defintions 2021-01-26 12:43:55 -03:00
CONTRIBUTING.md [smarcet] - Refs #4590 - Create initial solution and upload to git repo 2013-10-14 12:16:23 -03:00
artisan Migration to PHP 7.x 2019-01-10 13:51:06 -03:00
behat.yml OIDC - OpenId Connect Implementation 2015-12-16 11:03:01 -03:00
bindep.txt Migration to PHP 7.x 2019-01-10 13:51:06 -03:00
clear_logs.sh IDP - User Management 2020-01-23 03:06:05 -03:00
composer.json Updated composer 2020-10-27 13:42:41 -03:00
composer.lock Updated CORS middleware 2020-10-23 17:32:00 -03:00
gulpfile.js IDP Upgrade from Laravel 4.X to 5.X 2016-11-17 18:37:40 -03:00
package-lock.json Added missing npm dep 2021-04-14 15:23:16 -03:00
package.json Added missing npm dep 2021-04-14 15:23:16 -03:00
phpunit.xml Migration to PHP 7.x 2019-01-10 13:51:06 -03:00
readme.md Fixed mappings to be valid with doctrine validate tool 2020-02-26 09:43:59 -03:00
requirements.txt upgraded sphinx version 2019-09-30 08:53:37 -03:00
server.php Migration to PHP 7.x 2019-01-10 13:51:06 -03:00
setup.cfg Pin mockery to a release which supports PHP 5.3 2015-04-07 14:55:23 +00:00
setup.py Add boilerplate for Sphinx doc rendering 2015-03-23 22:52:45 +00:00
tox.ini Add boilerplate for Sphinx doc rendering 2015-03-23 22:52:45 +00:00
update_doctrine.sh Stream Chat SSO 2020-07-16 08:39:12 -03:00
webpack.config.js Change fields input format from HTML to MD 2021-04-14 11:33:59 -03:00
webpack.mix.js Migration to PHP 7.x 2019-01-10 13:51:06 -03:00

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}