OAuth redirect URI

Read-only callback URL per provider. Copy it exactly into each developer console.

OAuth redirect URI

Read-only URL shown under each social provider. Register it exactly in that provider's developer console. It is not a stored setting you edit.

Where to find it

Admin → Settings → Mods → Social → each provider → Redirect URI

Shape:

https://YOUR-DOMAIN/api/auth/oauth/{provider}/callback

{provider} is one of: google, facebook, twitter, apple, vk.

Origin comes from the public app URL (PUBLIC_APP_URL / NEXT_PUBLIC_APP_URL when set), otherwise the request host. Fix the site URL if the printed Redirect URI is wrong.

Common problems

redirect_uri_mismatch

Host, path, http vs https, or trailing slash differ from what you registered.

Works on www but not apex (or the reverse)

Register both hostnames, or permanently redirect one host to the other and only use one origin.

Related