Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds the sealed session to the auth data #21

Merged
merged 2 commits into from
Sep 16, 2024

Conversation

PaulAsjes
Copy link

Sometimes you might want to pass the sealed session to a backend to perform auth features there. Because Remix mints its sessions as JWTs, it means you can't get the sealed session directly from the browser cookie.

This cuts out the middleman and explicitly passes the sealed session in the loader data response.

@PaulAsjes PaulAsjes merged commit 79794aa into main Sep 16, 2024
@PaulAsjes PaulAsjes deleted the pma/add-sealed-session-to-response branch September 16, 2024 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants