Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: Update auth Discord docs

Stojan Dimitrovski0cf451a08747
diff --git a/web/docs/guides/auth/auth-discord.mdx b/web/docs/guides/auth/auth-discord.mdx
index e661bf752d8..7dcf28b7e6a 100644
--- a/web/docs/guides/auth/auth-discord.mdx
+++ b/web/docs/guides/auth/auth-discord.mdx
@@ -52,7 +52,7 @@ In the next step you require a callback URL, which looks like this:
- Enter the name of your application and click `Create`.
- Click on `OAuth2` under `Settings` in the left side panel.
- Click `Add Redirect` under `Redirects`.
-- Type or paste your `callback URL` into the `Redirects` box.
+- Type or paste your `callback URL` into the `Redirects` box. Make sure this is the first URL in the list.
- Click `Save Changes` at the bottom.
- Copy your `Client ID` and `Client Secret` under `Client information`.
@@ -76,6 +76,8 @@ const { user, session, error } = await supabase.auth.signIn({
})
```
+Do note that if you call `signIn` when already logged in, Discord will prompt the user again for authorization.
+
Add this function which you can call from a button, link, or UI element.
```js