Auth0 Home Blog Docs

How do I associate a session with a user in my database (their non-login info)?



Hello. I’m slowly wrapping my head around how sessions work. I’ve worked with Rails previously but that abstracts it away. I’m working on a Flask/Python app.

Users have (row/node) IDs, so what should I know/do?

Thanks! Also I’m using the option of redirecting to auth0, if that helps


Looks like I need to accept/retrieve the user profile/user_id. This is possibly sent with the JWT. I’ll keep looking for a tutorial on this. These helped target my search:


Okay. The ID Token contains the user info and it was shown how to access it in the file in the demo - the demo stores it in the session. Not sure if I didn’t read far enough or if I wasn’t ready to understand it.


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