Example OAuth 2.0 to Docker server using MySQL database and Redis for access_token and authorization_codes
Setup
- You will need a local php enviroment because the client is running on you local and use OAuth to authenticate to docker server.
- run composer install for src/php/php_oauth_server/www/composer.json
- run composer install for php_oauth_client/www/vendor/composer.json
- check docker-composer.yml for conflicting prots
- start mysql docker and run src/php/php_oauth_server/www/migartion/oauth2.sql
- build src/nginx/Dockerfile and adjust the name in docker-composer#web.image