handling JWTs with vitedge #61
Replies: 1 comment 10 replies
-
@calebeaires Yep, I added it to the roadmap because I thought this could be challenging. The main problem when using JWTs is that they can't be passed automatically when making a GET request for an SSR rendered page. This approach should work generally but I haven't tried it so there might be some wild bug. Please let me know when you try it. |
Beta Was this translation helpful? Give feedback.
-
After some seeking at web on how to handling JWTs on frontend clients that fits vitedge, I did not had some success on finding the best way to do it. As usually we save token on localstorage then make requests with it, but this is not so simple at server sider rendering.
There is a to-do at docs about how to "Auth utilities/guide (passing JWT in requests as cookies)". Is there someone from vitedge community to help us delivery it?
Beta Was this translation helpful? Give feedback.
All reactions