You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Go to <ahref="https://discord.com/developers/teams"target="_blank">Teams tab</a> in the Discord Developer Portal and create a new team. This allows you to manage your Discord applications under a team name instead of your personal account.
274
+
- After creating a team, switch to the <ahref="https://discord.com/developers/applications"target="_blank">Applications tab</a> in the Discord Developer Portal.
275
+
- Click on **New Application** and give your app a name. When prompted, select your team as the owner.
276
+
- In the left sidebar, click on **OAuth2** > **General**.
277
+
- Copy the **Client ID** and **Client Secret** (you may need to "reset" the client secret to obtain it for the first time), then paste them into your `.env` file as `DISCORD_CLIENT_ID` and `DISCORD_CLIENT_SECRET`, or set them as environment variables.
278
+
- In the left sidebar, click on **OAuth2** > **URL Generator**.
279
+
- Under **Scopes**, select `identify` and `email`.
280
+
- Under **Redirects**, add your BASE_URL value followed by `/auth/discord/callback` (i.e. `http://localhost:8080/auth/discord/callback`).
0 commit comments