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 to specify the location of the token. #147

Open
4 tasks done
az-nextsec opened this issue May 16, 2024 · 0 comments
Open
4 tasks done

Allow to specify the location of the token. #147

az-nextsec opened this issue May 16, 2024 · 0 comments

Comments

@az-nextsec
Copy link

Checklist

  • I have looked into the Readme and Examples, and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved

Currently the token is automatically looked up in query, body and header. I want to disallow token to be supplied in anything OTHER than header, but it doesn't seem possible now.

Describe the ideal solution

Extend JwtVerifierOptions to allow us to specify the locations where to look for the token.

Alternatives and current workarounds

None discovered. Potentially writing a custom auth Handler wrapping jwtverifier?

Additional context

No response

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