Replies: 1 comment 2 replies
-
Hey @heriparid, you can store your user's token with cookie or can create a React provider to keep token. Then you can pass this token to Refine's auth provider initialization. Then in Auth Provider, you can use this value in |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to store access_token given by Backend to be put in memory instead of Localstorage for security recommendation.
Is there a way to put the token like "global" state so that the token can be fetched using hook.
So far I just found the example using localstorage.
Kindly to hear some recommendation and example of handling the token put in global state.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions