Replies: 2 comments 3 replies
-
|
There are no dumb questions. :-) The answer depends on what kind of additional info it is, and how long and where you would want to keep it.
If the information you get is based on the signed-in user, I suppose you would have to make that https call AFTER the user's successful sign-in, i.e. inside your
If you can live with making that extra call during every active session, you can simply store them into the session. Most if not all web frameworks support session. Please consult your web framework's community and/or docs. For example, this is how you do session in Flask. If you need long term storage, you need to use database for your project. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for you time. I am now storing the information in the session. If the information is not in the session it makes the request and stores it in the session. I am using flask but was using the Low-level API. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, sorry if this is a dumb question. I am getting the token and I need to store some additional information. The additional information is retrieved with an https service call to another system (imho that is irrelevant) and where do I store the result? So like to add additional values into the token and store it. So further calls to auth.get_user() has the information. I hope I explained it well enough. The https call to get additional information I would make before returning from the auth_response() call.
Thanks and with best regards
Joshy
Beta Was this translation helpful? Give feedback.
All reactions