Skip to content

fix(twitter): support for email address retrieval with OAuth 2.0 in the X API v2 #13022

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Lqm1
Copy link
Contributor

@Lqm1 Lqm1 commented May 31, 2025

☕️ Reasoning

https://devcommunity.x.com/t/announcing-support-for-email-address-retrieval-with-oauth-2-0-in-the-x-api-v2/240555

OAuth 2.0 for X now supports retrieving email addresses
Therefore, we changed the initial configuration of the provider and removed and modified the notes.

🧢 Checklist

  • Documentation
  • Tests
  • Ready to be merged

🎫 Affected issues

fixes: #12511
fixes: #12953
fixes: #11711

📌 Resources

@Lqm1 Lqm1 requested review from ThangHuuVu and ndom91 as code owners May 31, 2025 07:24
Copy link

vercel bot commented May 31, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
auth-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 31, 2025 7:28am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Visit Preview May 31, 2025 7:28am

Copy link

vercel bot commented May 31, 2025

@Lqm1 is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions bot added providers core Refers to `@auth/core` labels May 31, 2025
@Lqm1
Copy link
Contributor Author

Lqm1 commented May 31, 2025

We should also consider changing the "id" or "name" of the provider.
I feel it is dangerous to change "id" to "x," so is it best to keep "id" as it is and change only "name" to "X"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Refers to `@auth/core` providers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feedback for “Twitter/X Provider”
1 participant