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

Unpacking properties from token #71

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

pyth
Copy link

@pyth pyth commented Nov 24, 2022

These changes set environment variables with a "JWT_" prefix and modify the headers of the request to set cookies based on the contents of the token.
This allows for easier access to the token's payload, e.g. from a script.

Fjodor Schelichow added 6 commits November 16, 2022 13:56
…very string or number property in the token's payload
…" response header if the token validation fails for any reason (currently used to redirect user back t othe login page)
… property values to the cookie header instead of adding a new cookie header
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant