Hi all, relatively new to backend programming and decided to use Auth0 for my authentication than try to write it from scratch. One thing I’m confused is how exactly does the Auth0 work with my backend that’s connected to my DB.
I’d imagine with a custom written auth system in my node.js backend, each user on signup gets some unique ID. And typically, if I want to pull info from my DB, I query thatunique ID and pull all the items based on that field. I’ve only watched a brief tutorial on Auth0 and the video only showed the success of login and logout. So I’m guessing Auth0 provides some sort of unique ID for a new user signup and login that I can store in my DB?
It would be great if someone who’s done this before give me a very general overview of how the flow works from Auth0 to backend to DB.