Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Accessing user cookie data from the pages #148

Unanswered
DryDemon asked this question in Q&A
Discussion options

On a project I need authentification from user. I use jwt cookies to do so.
I know I can use the api to verify the cookie and send data but that is 2-3 times slower to send the page, wait for the user to load him and then let him send a request to the api.
Fetching the data in the SSR time and directly integrating in the pages in much faster.
Is there any way to check the cookie value during SSR? I havn't found anything

If it does not exist yet, I think it would be a great feature.

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #147 on February 12, 2021 20:05.

AltStyle によって変換されたページ (->オリジナル) /