Closed KurtMar closed 3 months ago
Latest commit: d2f77e04c7c6bb44f04ea4e3b9a7f46b6c6910a1
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Let me rebase this PR, it should fix the CI
Thank you for your contribution! Very appreciated!
Description
Change type of Auth0 plugin's audience property to accept what the underlying jsonwebtoken library accepts. This is needed e.g. if the protected resource accepts JWTs from multiple applications.
Fixes # 2199
Type of change
Please delete options that are not relevant.
Screenshots/Sandbox (if appropriate/relevant):
NA
How Has This Been Tested?
Tested using a @ts-ignored audience property and passing it an array of audiences.
Test Environment:
@envelop/auth0
: 6.0.0Checklist:
Further comments
This change is very limited as it is only a passthrough property that has a type available in the downstream package that has been implemented here as well.