nhost / hasura-auth

Authentication for Hasura.
https://nhost.io
MIT License
385 stars 114 forks source link

fix: workos query parameters #312

Closed plmercereau closed 1 year ago

plmercereau commented 1 year ago

Allow WorkOS organization/domain/connection from the query parameters

The Grant dynamic parameter was not correctly set. Moreover, the Oauth routes were using express.use instead of express.all. As a result. the routes defined for ${OAUTH_ROUTE}/:provider where also matching an url like ${OAUTH_ROUTE}/:provider/callback, although they shouldn't have.

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: 413eb59f1b57194ad8c2a533520c79e883336b50

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ----------- | ----- | | hasura-auth | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR