Majority of the implementation comes from the documentation.
For details on how to restrict granted scopes based on the user authorities search for "Mapping User Roles to Scopes" here.
Sample OAuth 2.0 server compatible with Spring Security 5.1 Resource Server implementations
Majority of the implementation comes from the documentation.
For details on how to restrict granted scopes based on the user authorities search for "Mapping User Roles to Scopes" here.
Sample OAuth 2.0 server compatible with Spring Security 5.1 Resource Server implementations