#440

Discord sign-in for Convex Auth v2

Completed

Submitted November 12, 2026

Convex Auth v2 ships with Google, Apple and GitHub sign-in, but not Discord. Apps can't add it themselves yet, because the generic OAuth component and setupOauth aren't exported. v1 had Discord through the Auth.js providers, so apps that use it can't move to v2.

Could v2 get a built-in Discord provider, like the GitHub one?

I opened a PR that adds it: https://github.com/convex/convex-auth/pull/914. It adds an authDiscord component and a discord sign-in method that mirror GitHub's, plus docs and an example app. I tested it with a real sign-in against Discord.

If you'd rather ship the custom OAuth provider API instead, that would solve this too.

Development Updates

No updates yet