okta / okta-auth-js

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

fix: Allows aud to be an array when validating claims #1490

Closed jaredperreault-okta closed 5 months ago

jaredperreault-okta commented 5 months ago

Per the openid spec, aud can be an array and in special cases a single string. This fixes a bug where the array case is not handled. This is a non breaking change.

Tests for the following scenarios:

Resolves: 1480