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

cNonce is not checked for expiration #103

Open
TimoGlastra opened this issue Mar 17, 2024 · 0 comments
Open

cNonce is not checked for expiration #103

TimoGlastra opened this issue Mar 17, 2024 · 0 comments

Comments

@TimoGlastra
Copy link
Collaborator

I see that the cNonce used in a request is not checked for expiration.

What is checked is whether the credential request jwt iat (which is client-generated so not really trustable) is within the token expiration.

As I understand it, the token expiration for the access token expiration, and so instead of verifying the credential request jwt against the token expiration time, we should check it against the cNonce expiration time, to check if the cNonce used in the request hasn't expired yet.

Is that correct?

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