n1ru4l / envelop

Envelop is a lightweight library allowing developers to easily develop, share, collaborate and extend their GraphQL execution layer. Envelop is the missing GraphQL plugin system.
https://envelop.dev
MIT License
777 stars 126 forks source link

fix(auth0): change Auth0 plugin audience property's type #2200

Closed KurtMar closed 3 months ago

KurtMar commented 5 months ago

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:

Checklist:

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.

changeset-bot[bot] commented 5 months ago

⚠️ No Changeset found

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.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

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

EmrysMyrddin commented 3 months ago

Let me rebase this PR, it should fix the CI

EmrysMyrddin commented 3 months ago

Thank you for your contribution! Very appreciated!