best way how to check if user authenticated or not from inside middleware and fill some global state #65786
Unanswered
codehubdev123
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
** What is the best way **
How to check if user is authenticated or not in each request and pass the response data to something like global context or zustand store to easy check and secure because i need re fill the data in every request to prevent user from manual change values and go some where protected (so that i need refill the data in each request)
Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions