Central authorization server using spring oauth2, MySQL and JWT
This project shows manual configuration of an oauth2 authorisation
and resource server using spring oauth2. As the name implies, oauth2-auth-server
is the authentication server which authorizes requests made by registered resource servers
on behalf of end users.resource-server-app
acts as the resource server with minimal configuration thanks to Spring oauth2
Be sure to replace environment variables in application-dev.yml
files
$ git clone
$ cd /path/to/directory
$ ./mvnw spring-boot:run
Here are some things not yet fully implemented
DefaultTokenServices
implementation of AuthorizationServerTokenServices
and ResourceServerTokenServices
to verify tokens for my use case, this is perfectly fine. But a TokenEnhancer
is not yet implemented and this will be done at a later time.