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

Allow users to retrieve JWT from a query and cookie with a specified name #88

Open
JunNishimura opened this issue Mar 17, 2024 · 1 comment · May be fixed by #89
Open

Allow users to retrieve JWT from a query and cookie with a specified name #88

JunNishimura opened this issue Mar 17, 2024 · 1 comment · May be fixed by #89

Comments

@JunNishimura
Copy link

JunNishimura commented Mar 17, 2024

Describe the feature or problem you’d like to solve

Currently, if the name of the query param or cookie is other than jwt, it is necessary to implement logic to obtain jwt from the query or cookie on the user side(that's a bit cumbersome).

TokenFromCookie function
TokenFromQuery function

Proposed solution

Solve the above problem by providing a function that can retrieve jwt from a query or cookie with the name passed as an argument.

@JunNishimura
Copy link
Author

@pkieltyka
Hi, I submitted a PR(#89)!
I would appreciate it if you could check it out.

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 a pull request may close this issue.

1 participant