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

Return JWT in response body and as cookie #63

Open
mattbodman opened this issue Feb 28, 2022 · 0 comments
Open

Return JWT in response body and as cookie #63

mattbodman opened this issue Feb 28, 2022 · 0 comments

Comments

@mattbodman
Copy link

I have a legacy api which uses Pyramid remember/forget with auth_tkt. I now need to also use this api to authenticate users using JWT. Thanks to your module, I have converted the legacy app to use JWT with cookies and it works great. However, the new app requires me to extract the JWT somehow and pass it to a subsequent auth system. I cannot access the JWT on the client from the cookie because it is secure. So I'm wondering if it's possible to return the JWT in the response body (as well as in the cookie). Is that possible?

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

No branches or pull requests

1 participant