Authentication for a small SAAS app using React + Spring boot + Mysql

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.

Hi @arrowhead,

I apologize for the delayed response on this topic. I would like to take the time to address it if you are still looking for advice on your build.

Please let me know if you require assistance.

Thanks,
Dan

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.