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.

feat(auth): add support for custom OAuth/OIDC provider integration

Andrej Acevski2eb0cdc8922a
diff --git a/apps/docs/content/docs/core/installation/environment-variables.mdx b/apps/docs/content/docs/core/installation/environment-variables.mdx
index 4d87b9b60..d94724c7b 100644
--- a/apps/docs/content/docs/core/installation/environment-variables.mdx
+++ b/apps/docs/content/docs/core/installation/environment-variables.mdx
@@ -14,9 +14,6 @@ The variables are split up into the following sections:
- [Authentication](#authentication)
- [Access Control](#access-control)
- [GitHub SSO & Integration](#github-sso-&-integration)
-- [Google SSO](#google-sso)
-- [Discord SSO](#discord-sso)
-- [Custom OAuth/OIDC](#custom-oauth-oidc)
- [SMTP Configuration](#smtp-configuration)
## Required variables
@@ -75,27 +72,6 @@ Name | Description |
| `GOOGLE_CLIENT_ID` | The Google client ID.
| `GOOGLE_CLIENT_SECRET` | The Google client secret.
-### Discord SSO
-
-Name | Description |
---- | --- |
-| `DISCORD_CLIENT_ID` | The Discord client ID.
-| `DISCORD_CLIENT_SECRET` | The Discord client secret.
-
-### Custom OAuth/OIDC
-
-Name | Description |
---- | --- |
-| `CUSTOM_OAUTH_CLIENT_ID` | OAuth client ID from your provider.
-| `CUSTOM_OAUTH_CLIENT_SECRET` | OAuth client secret from your provider.
-| `CUSTOM_OAUTH_AUTHORIZATION_URL` | Authorization endpoint URL.
-| `CUSTOM_OAUTH_TOKEN_URL` | Token exchange endpoint URL.
-| `CUSTOM_OAUTH_USER_INFO_URL` | User info endpoint URL.
-| `CUSTOM_OAUTH_DISCOVERY_URL` | (Optional) OpenID Connect discovery document URL.
-| `CUSTOM_OAUTH_SCOPES` | (Optional) Comma-separated list of OAuth scopes. Default: `profile,email`.
-| `CUSTOM_OAUTH_RESPONSE_TYPE` | (Optional) OAuth response type. Default: `code`.
-| `CUSTOM_AUTH_PKCE` | (Optional) Enable/disable PKCE. Default: `true`.
-
### SMTP Configuration
Name | Description |
@@ -110,8 +86,6 @@ Name | Description |
## Key points
-- If you enable GitHub SSO, you need to set up the GitHub app which is used to authenticate users in the [GitHub Developer Settings](https://github.com/settings/developers). See the [GitHub SSO guide](/docs/social-providers/github).
-- If you enable Google SSO, you need to set up the Google app which is used to authenticate users in the [Google Cloud Console](https://console.cloud.google.com/). See the [Google SSO guide](/docs/social-providers/google).
-- If you enable Discord SSO, you need to set up the Discord application which is used to authenticate users in the [Discord Developer Portal](https://discord.com/developers/applications). See the [Discord SSO guide](/docs/social-providers/discord).
-- If you enable Custom OAuth/OIDC, you need to configure your identity provider with the appropriate redirect URI. See the [Custom OAuth/OIDC guide](/docs/social-providers/custom-oauth).
+- If you enable GitHub SSO, you need to set up the GitHub app which is used to authenticate users in the [GitHub Developer Settings](https://github.com/settings/developers).
+- If you enable Google SSO, you need to set up the Google app which is used to authenticate users in the [Google Cloud Console](https://console.cloud.google.com/).
- If you have enabled SMTP, your sign in will be done via email using a magic link.
diff --git a/apps/docs/next-env.d.ts b/apps/docs/next-env.d.ts
index 9edff1c7c..c4b7818fb 100644
--- a/apps/docs/next-env.d.ts
+++ b/apps/docs/next-env.d.ts
@@ -1,6 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
-import "./.next/types/routes.d.ts";
+import "./.next/dev/types/routes.d.ts";
// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.