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 5713080653 Fixed null exception 6 days ago
app Fixed null exception 6 days ago
bootstrap IDP Upgrade from Laravel 4.X to 5.X 4 years ago
config Updated Redis config 3 months ago
database Auth Code Flow PKCE support 3 months ago
doc/source Switch to openstackdocstheme and latest Sphinx 2 years ago
playbooks Updated composer 6 months ago
public Change fields input format from HTML to MD 1 week ago
resources Change fields input format from HTML to MD 1 week ago
roles/setup-test-laravel-env Convert remaining jobs to Zuul v3 native 1 year ago
storage IDP Upgrade from Laravel 4.X to 5.X 4 years ago
tests Auth Code Flow PKCE support 3 months ago
.babelrc Migrated bower dependencies 3 years ago
.env.example Added Rabbit MQ config 10 months ago
.gitattributes IDP Upgrade from Laravel 4.X to 5.X 4 years ago
.gitignore Change fields input format from HTML to MD 1 week ago
.gitreview OpenDev Migration Patch 2 years ago
.zuul.yaml Updated Zuul jobs defintions 3 months ago
CONTRIBUTING.md [smarcet] - Refs #4590 - Create initial solution and upload to git repo 8 years ago
artisan Migration to PHP 7.x 2 years ago
behat.yml OIDC - OpenId Connect Implementation 5 years ago
bindep.txt Migration to PHP 7.x 2 years ago
clear_logs.sh IDP - User Management 1 year ago
composer.json Updated composer 6 months ago
composer.lock Updated CORS middleware 6 months ago
gulpfile.js IDP Upgrade from Laravel 4.X to 5.X 4 years ago
package-lock.json Added missing npm dep 1 week ago
package.json Added missing npm dep 1 week ago
phpunit.xml Migration to PHP 7.x 2 years ago
readme.md Fixed mappings to be valid with doctrine validate tool 1 year ago
requirements.txt upgraded sphinx version 2 years ago
server.php Migration to PHP 7.x 2 years ago
setup.cfg Pin mockery to a release which supports PHP 5.3 6 years ago
setup.py Add boilerplate for Sphinx doc rendering 6 years ago
tox.ini Add boilerplate for Sphinx doc rendering 6 years ago
update_doctrine.sh Stream Chat SSO 9 months ago
webpack.config.js Change fields input format from HTML to MD 1 week ago
webpack.mix.js Migration to PHP 7.x 2 years 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}