Thanks to the wonderful community out here that is truly helpful with answering questions and helping users make right choices with Auth0. Appreciate the time y’all put in.
I am building a small SAAS product (ReactJS front end and APIs using Spring-boot, Java, Mysql) and was hoping to use Auth0 as the auth provider. There is a large amount of good information here and I have been reading the posts for a few days now and I must say I am overwhelmed. writing this as I wanted some help in picking up the right trail.
Here is what I am looking to do:
- User registration / login from a custom registration/ login page from the frontend app
- There are various types of paid users with varying account validity (free, daily, weekly, monthly and yearly validity). Ability to store this information in the user profile / access token and validate by the apis?
- Pass in some kind of access token in every api call and easy validation of the access token by the spring boot services before processing and returning a valid response
- The api (for now) will only be accessible through the React app. So designing the auth with this in mind and keeping it simple is crucial. However, I would like to know if there is a blended approach of authenticating the frontend (React app) based calls as well as direct api calls that we can implement
It would be great to have a tutorial or a post or an example showcasing how to setup authentication for a web app with a spring boot backend.