Skip to content

React check token on backend #174

Answered by aeneasr
niwla23 asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry for the late reply @niwla23 !

Should I follow the react guide, then send the requets with the cookies to the backend server and use the method described there to find and check the user or is there a better way / are there security issues with this approach?

Yes, this is the right approach. It is the most secure way to do it!

We also have on the roadmap an endpoint to exchange the session for a short-lived JWT, but this has some difficult security implications which we first need to iron out :)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by niwla23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants