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

Why send JWTs two different ways? #53

Open
sbweeden opened this issue Apr 22, 2024 · 1 comment
Open

Why send JWTs two different ways? #53

sbweeden opened this issue Apr 22, 2024 · 1 comment

Comments

@sbweeden
Copy link
Contributor

The current explainer says that when a session is being established, the JWT which contains the signed challenge is sent as the POST body data to the /path+"/startsession" endpoint. When the session is being refreshed however, despite there being a separate URL /path+"/refresh" used, the JWT signing the challenge is depicted as being sent in a header Sec-Session-Response.

It seems odd to have two different approaches for sending the JWT. Why not use either POST body, or a header, in both use cases?

@bc-pi
Copy link

bc-pi commented Apr 24, 2024

This came up, more or less, in #47 FWIW.

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

2 participants