RETIRED, Authentication system for the OpenStack Foundation site
Go to file
smarcet d9862bfc35 Updated Zuul jobs defintions
added nodeset definition and set it to
ubuntu 18.04 LTS ( bionic ) due IDP its only
compatible with mysql 5.7.x

Change-Id: Id63f8d101116318c5c831f5c7154735e8b02cc63
Signed-off-by: smarcet <smarcet@gmail.com>
2021-01-26 12:43:55 -03:00
app Updated token info on instrospection 2021-01-15 12:21:11 -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 Added user field 2020-11-05 16:41:52 -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 Check Session fix 2021-01-18 11:43:57 -03:00
resources Added loging help text 2020-11-18 12:18:22 -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 Fix on info text css color 2020-12-02 15:30:50 -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 Added copy 2 clipboard feature on OAUTH2 Client Data 2020-02-29 01:06:03 -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.json Added copy 2 clipboard feature on OAUTH2 Client Data 2020-02-29 01:06:03 -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 Added copy 2 clipboard feature on OAUTH2 Client Data 2020-02-29 01:06:03 -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}