Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

docs: add Discord SSO documentation

Andrej Acevski7a1954f5ec95
diff --git a/apps/docs/content/docs/core/social-providers/discord.mdx b/apps/docs/content/docs/core/social-providers/discord.mdx
new file mode 100644
index 000000000..95cf87d07
--- /dev/null
+++ b/apps/docs/content/docs/core/social-providers/discord.mdx
@@ -0,0 +1,24 @@
+---
+title: Discord
+description: Discord is a social provider for Kaneo.
+---
+
+## Overview
+
+Discord is a social provider for Kaneo. It allows users to sign in to Kaneo using their Discord account.
+
+## Configuration
+
+1. Go to the [Discord Developer Portal](https://discord.com/developers/applications).
+2. Create a new application.
+3. Navigate to the "OAuth2" section in the left sidebar.
+4. Add a redirect URI: `KANEO_API_URL/api/auth/callback/discord`.
+5. Copy the client ID and client secret from the OAuth2 page.
+6. Set the `DISCORD_CLIENT_ID` and `DISCORD_CLIENT_SECRET` environment variables.
+
+For more information on what your `KANEO_API_URL` is, see the [Environment variables](/docs/installation/environment-variables#discord-sso) page.
+
+## Usage
+
+Once you have configured the social provider, you can sign in to Kaneo using your Discord account.
+
diff --git a/apps/docs/content/docs/core/social-providers/meta.json b/apps/docs/content/docs/core/social-providers/meta.json
index 6e55140e8..6c77c48d0 100644
--- a/apps/docs/content/docs/core/social-providers/meta.json
+++ b/apps/docs/content/docs/core/social-providers/meta.json
@@ -1,6 +1,6 @@
{
"title": "Social Providers",
"icon": "Users",
- "pages": ["github", "google", "custom-oauth"],
+ "pages": ["github", "google", "discord", "custom-oauth"],
"defaultOpen": true
}