The Nonce func in IDTokenVerifier can technically be set to nil. We don't want to panic by calling a nil func. So I've updated the VerifyIDToken func to skip the nonce claim check if the func is nil.
Definition of Ready
[X] I am happy with the code
[X] Short description of the feature/issue is added in the pr description
[ ] PR is linked to the corresponding user story
[ ] Acceptance criteria are met
[ ] All open todos and follow ups are defined in a new ticket and justified
[ ] Deviations from the acceptance criteria and design are agreed with the PO and documented.
[ ] No debug or dead code
[ ] My code has no repetitions
[ ] Critical parts are tested automatically
[ ] Where possible E2E tests are implemented
[ ] Documentation/examples are up-to-date
[ ] All non-functional requirements are met
[ ] Functionality of the acceptance criteria is checked manually on the dev system.
The
Nonce
func inIDTokenVerifier
can technically be set tonil
. We don't want to panic by calling anil
func. So I've updated theVerifyIDToken
func to skip thenonce
claim check if the func isnil
.Definition of Ready