You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When verifying tokens the JWT library which is used in this project support issuer as a string or an array of strings. To align this project with that I suggest allowing issuer as a string or an array of strings. This functionality comes in handy in cases where we setup azure b2c custom domains in this scenario both the default azure domain and the custom domain should be regarded as valid issuers.
Suggested Solution
After taking a look at the code it looks like the change should be simple enough and I'm happy to push a pull request. Essentially we just need to change VerifyOptions interface to look like below.
Describe the Feature
When verifying tokens the JWT library which is used in this project support issuer as a string or an array of strings. To align this project with that I suggest allowing issuer as a string or an array of strings. This functionality comes in handy in cases where we setup azure b2c custom domains in this scenario both the default azure domain and the custom domain should be regarded as valid issuers.
Suggested Solution
After taking a look at the code it looks like the change should be simple enough and I'm happy to push a pull request. Essentially we just need to change VerifyOptions interface to look like below.
Other Information
n/a
The text was updated successfully, but these errors were encountered: