⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
docs: update environment variable documentation and redirect URIs for social providers
Rodaviva79d2b9b843c2
diff --git a/apps/docs/content/docs/core/installation/environment-variables.mdx b/apps/docs/content/docs/core/installation/environment-variables.mdxindex 6ce929015..16be21f64 100644--- a/apps/docs/content/docs/core/installation/environment-variables.mdx+++ b/apps/docs/content/docs/core/installation/environment-variables.mdx@@ -6,6 +6,7 @@ description: The environment variables are used to configure the application.## Set up the fileThe environment variables are used to configure the application. We will use a `.env` file to store the variables.+For the sample environment file, see the [example .env file](https://github.com/usekaneo/kaneo/blob/main/.env.sample).The variables are split up into the following sections:@@ -47,7 +48,7 @@ This section will cover all the variables related to the authentication.Name | Description |--- | --- |-| `AUTH_SECRET` | The secret key for the JWT token. **Must be at least 32 characters long** – use a long, random value in production.+| `AUTH_SECRET` | The secret key for the JWT token. **Must be at least 32 characters long**, use a long, random value in production. Example: use `openssl rand -hex 32` to generate a secure key in Linux/macOS.## Optional variables@@ -57,6 +58,7 @@ Name | Description |Name | Description | Default |--- | --- | --- || `DISABLE_GUEST_ACCESS` | Disable anonymous/guest sign-in. When set to `true`, the guest access button will not be shown on sign-in and sign-up pages. | `false` |+| `DISABLE_REGISTRATION` | Disable user registration. When set to `true`, the sign-up option will not be shown on the sign-in page. | `false` |### GitHub SSO & Integrationdiff --git a/apps/docs/content/docs/core/social-providers/custom-oauth.mdx b/apps/docs/content/docs/core/social-providers/custom-oauth.mdxindex ad3198bef..54a45e38b 100644--- a/apps/docs/content/docs/core/social-providers/custom-oauth.mdx+++ b/apps/docs/content/docs/core/social-providers/custom-oauth.mdx@@ -70,7 +70,8 @@ CUSTOM_AUTH_PKCE=falseAfter updating the environment variables, restart your Kaneo services:```bash-docker compose restart+docker compose down+docker compose up -d```## Example Configurationsdiff --git a/apps/docs/content/docs/core/social-providers/discord.mdx b/apps/docs/content/docs/core/social-providers/discord.mdxindex 95cf87d07..dd21f874b 100644--- a/apps/docs/content/docs/core/social-providers/discord.mdx+++ b/apps/docs/content/docs/core/social-providers/discord.mdx@@ -12,7 +12,7 @@ Discord is a social provider for Kaneo. It allows users to sign in to Kaneo usin1. 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`.+4. Add a redirect URI: `KANEO_API_URL/api/auth/oauth2/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.diff --git a/apps/docs/content/docs/core/social-providers/github.mdx b/apps/docs/content/docs/core/social-providers/github.mdxindex 9ebd748b7..dbced4ff9 100644--- a/apps/docs/content/docs/core/social-providers/github.mdx+++ b/apps/docs/content/docs/core/social-providers/github.mdx@@ -11,7 +11,7 @@ GitHub is a social provider for Kaneo. It allows users to sign in to Kaneo using1. Go to the [GitHub Developer Settings](https://github.com/settings/developers/).2. Create a new OAuth app.-3. Set the redirect URI to `KANEO_API_URL/api/auth/callback/github`.+3. Set the redirect URI to `KANEO_API_URL/api/auth/oauth2/callback/github`.4. Copy the client ID and client secret.5. Set the `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET` environment variables.diff --git a/apps/docs/content/docs/core/social-providers/google.mdx b/apps/docs/content/docs/core/social-providers/google.mdxindex e8f854ba4..efbcf92a7 100644--- a/apps/docs/content/docs/core/social-providers/google.mdx+++ b/apps/docs/content/docs/core/social-providers/google.mdx@@ -13,7 +13,7 @@ Google is a social provider for Kaneo. It allows users to sign in to Kaneo using2. Create a new project.3. Enable the Google Sign In API.4. Create a new OAuth client ID.-5. Set the redirect URI to `KANEO_API_URL/api/auth/callback/google`.+5. Set the redirect URI to `KANEO_API_URL/api/auth/oauth2/callback/google`.6. Copy the client ID and client secret.7. Set the `GOOGLE_CLIENT_ID` and `GOOGLE_CLIENT_SECRET` environment variables.