In this repository, we’re going to explore how you could set up a fully fledged OAuth2 server in Laravel using the Laravel Passport library.
- Docker ^19.*
- Click Use this template
- Git clone & change directory
- Copy .env.example to .env
- Execute the following command
$ make init # Setup project- web: http://localhost:83
- phpmyadmin: http://localhost:82
Credential:
- Email: admin@example.com
- Password: password
Next, click button Login.
Result
Copy:
- Client-ID
- Redirect
- Secret
To .env
Next, now logout from app
Back to page login, next click buttom Login with LaravelOauth. Before do login check your network in page.
Make sure, already to access url authorize?client_id=<and_more>. Next login again.





