okta / okta-auth-js

The official js wrapper around Okta's auth API
Other
437 stars 255 forks source link

Issue 1480 fix claims validation aud array #1481

Closed nholik closed 5 months ago

nholik commented 6 months ago

This addresses issue #1480 where claims validation fails when a token has an array of values in the aud claim. Per the issue, this should be considered valid per the spec and as implemented only the special case is.

I have added unit tests verifying the behavior. Further this change is backward compatible and does not cause anything that would currently validate to fail

jaredperreault-okta commented 5 months ago

This was released in 7.5.1 https://github.com/okta/okta-auth-js/releases/tag/okta-auth-js-7.5.1