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

[Feature Request] Support for more validation options #315

Open
sazzer opened this issue Nov 15, 2023 · 0 comments
Open

[Feature Request] Support for more validation options #315

sazzer opened this issue Nov 15, 2023 · 0 comments

Comments

@sazzer
Copy link

sazzer commented Nov 15, 2023

Hi there,

Biscuit has been great for working with JWTs, but I've found when working with some - Cognito ones in particular -that I need to do some more extensive validation myself.

In particular, with Cognito I need to:

  • Validate that the token_use claim is present and has the correct value.
  • Validate that the username claim is present.

With Biscuit, as best I can tell, I can only validate the standard set of claims, and I need to then do additional validation myself on these extra ones. It would be really useful if there was some way to include these claims in the standard validation that is done by the Compact::validate() call.

Cheers

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