Skip to content

Add PKCE option to Oauth2Provider#149

Merged
thdxr merged 2 commits intoanomalyco:masterfrom
hazelnutcloud:feature/oauth2pkce
Feb 3, 2025
Merged

Add PKCE option to Oauth2Provider#149
thdxr merged 2 commits intoanomalyco:masterfrom
hazelnutcloud:feature/oauth2pkce

Conversation

@hazelnutcloud
Copy link
Contributor

Closes #148

The x.com provider does not work out of the box because the x.com oauth2 does not work without PKCE. See the "Grant Types" section in https://developer.x.com/en/docs/authentication/oauth-2-0/authorization-code. This PR adds an option to the Oauth2Provider base function to include PKCE flow which fixes the x.com provider.

@changeset-bot
Copy link

changeset-bot bot commented Jan 13, 2025

🦋 Changeset detected

Latest commit: 9d9564c

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

This PR includes changesets to release 1 package
Name Type
@openauthjs/openauth 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

@thdxr thdxr merged commit 9036544 into anomalyco:master Feb 3, 2025
1 of 2 checks passed
raphaeltm added a commit to DefangLabs/openauth that referenced this pull request Jun 30, 2025
nullfunc pushed a commit to DefangLabs/openauth that referenced this pull request Sep 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

x.com provider does not work

2 participants