Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1.44 KB

README.md

File metadata and controls

24 lines (19 loc) · 1.44 KB

Auth0 with Spring Boot

Following Auth0 tutorial in Secure Spring Boot API

Using Kotlin

Instead of following the tuto on Java, it has been implemented in Kotlin. Not every step was a straightforward translation, so the following posts were used as references to tackle some minor issues:

GUI

The tuto has all the details, however is important to highlight that this demo client can be used to do some exploratory testing with this API

Notes

  • If you are exploring Auth0 usage for complex/at scale implementation see Auth0 Architecture Scenarios
  • With the basic plan and demo steps, I was able to easily authenticate with a social provider
  • For Role-Based Access Control, besides the code changes displayed in the last PR, you should assign the permissions needed to yor API client ID in the Auth0 Dashboard -> APIs -> Your API (Menu API in this example) -> Machine to Machine apps