You can now add "Sign in with X" to your application using the new X / Twitter (OAuth 2.0) provider in Supabase Auth.

The new provider uses X's OAuth 2.0 implementation, replacing the legacy OAuth 1.0a flow. OAuth 2.0 offers a more modern authentication experience with better security practices, including PKCE support.

Setting up X / Twitter authentication takes a few steps:

Create an OAuth 2.0 app in the X Developer Portal

Enable "Request email from users" in your app's authentication settings