Replies: 1 comment 1 reply
-
Hey @atakansn! 👋🏻 If you can store your token inside a cookie, you should have used a session-based authentication instead of an OAT. If your frontend application is using a proxy to query your real API, it makes sense to have an OAT and create a cookie in your proxy. If not, store your token in memory or inside the LocalStorage of your frontend application. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using adonis js as api, how (localstorage, cookie) should be stored by the browser after the user logs in? If I show access token to the user, will it create a security problem?
Beta Was this translation helpful? Give feedback.
All reactions