Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

shagren/demo-laravel-oauth2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

  • You need docker(1.13.0+) & docker-compose
  • Please stop you local web and mysql servers, we need ports 80, 443, 3306 free
  • Please run next commands
cd docker
docker-compose build
docker-compose up -d
docker-compose exec php-fpm-api.local composer install
docker-compose exec php-fpm-api.local cp .env.example .env
sudo chmod -R a+w ../api/storage
sudo chmod -R a+w ../api/bootstrap/cache/
docker-compose exec php-fpm-auth.local composer install
docker-compose exec php-fpm-auth.local cp .env.example .env
sudo chmod -R a+w ../auth/storage
sudo chmod -R a+w ../auth/bootstrap/cache/
docker-compose exec php-fpm-auth.local ./artisan migrate --seed
  • Demo app ready

Content

There three application which accessible via next urls:

NB: please accepts all self-signed certificates

First application is browser based app which show users list and user details

Second is OAUTH2 endpoint. Please register there few users.

Third is API server which provide basic api.

TODO

  • Move all links to configs
  • Research using popups/iframe for auth process, now we redirect browser instead target page

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published