You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When implementing this with a frontend, I am assuming that for example if I want to do something with the users data, I would call the get users endpoint. That would be only accessible by an admin role. If I login with an admin role and use the token that I got, how do I make sure that the app stay running? since I think I would need to renew the token every once in a while.
If I am thinking about this in the wrong direction please correct me.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When implementing this with a frontend, I am assuming that for example if I want to do something with the users data, I would call the get users endpoint. That would be only accessible by an admin role. If I login with an admin role and use the token that I got, how do I make sure that the app stay running? since I think I would need to renew the token every once in a while.
If I am thinking about this in the wrong direction please correct me.
Beta Was this translation helpful? Give feedback.
All reactions