Skip to content

cNonce is not checked for expiration #103

@TimoGlastra

Description

@TimoGlastra

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions