You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run composer install (or your equivalent) in this directory to install dependencies
Create a private key openssl genrsa -out private.key 2048
Create a public key openssl rsa -in private.key -pubout > public.key
cd into the public directory
Start the PHP server with php -S localhost:4444
Caveats and Warnings
Our only user is hardcoded in examples\Repositories\UserRepository.php on line 27. In a real implementation, that method would call a database or other user store for password verification.
Our only OAuth Client is hardcoded in examples\Repositories\ClientRepository.php on line 42. In a real implementation, that method would call a database or other list of OAuth clients to validate the client_id and client_secret.
Our allowed scopes are hardcoded in examples\Repositories\ScopeRepository.php starting on line 21. In a real implementation, that method would call a database or other list of scopes to grant.