Spring Boot 3 boilerplate for easily customizing traditional OAuth2 Password Grant

  • Set up access & refresh token APIs on both ‘/oauth2/token’ and on our controller layer such as ‘/api/v1…’, both of which function same.
  • Authentication management based on a combination of username, client id, and an extra token (referred to in the source code as App-Token, which receives a unique value from the calling devices).
  • Separated UserDetails implementation for Admin and Customer roles.
  • Integration with spring-security-oauth2-authorization-server.
  • Provision of MySQL DDL, which consists of oauth_access_token, oauth_refresh_tokenand oauth_client_details
  • Application of Spring Rest Docs.

https://github.com/Andrew-Kang-G/spring-security-oauth2-password-jpa-implementation


Discover more from Coursity

Subscribe to get the latest posts sent to your email.

Leave a Comment

Your email address will not be published. Required fields are marked *

Discover more from Coursity

Subscribe now to keep reading and get access to the full archive.

Continue reading

Scroll to Top
Docker on fedora distro of linux operating system.