Skip to content

Commit

Permalink
docs: add AUTH_CUSTOM_CLIENT_AUTH_METHOD
Browse files Browse the repository at this point in the history
  • Loading branch information
marcklingen committed Dec 20, 2024
1 parent a875ec8 commit 4c65c13
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pages/self-hosting/authentication-and-sso.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@ Thanks to [@RTae](https://github.com/RTae) for the initial contribution of Keycl

[NextAuth Custom OAuth Provider Docs](https://next-auth.js.org/configuration/providers/oauth#using-a-custom-provider) ([source](https://github.com/langfuse/langfuse/blob/main/web/src/server/auth.ts))

| Configuration | Value |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------ |
| Required Variables | `AUTH_CUSTOM_CLIENT_ID`<br/>`AUTH_CUSTOM_CLIENT_SECRET`<br/>`AUTH_CUSTOM_ISSUER`<br/>`AUTH_CUSTOM_NAME` (any, used only in UI) |
| Optional Variables | `AUTH_CUSTOM_ALLOW_ACCOUNT_LINKING=true`<br/>`AUTH_CUSTOM_SCOPE` (defaults to `"openid email profile"`) |
| OAuth Redirect URL | `/api/auth/callback/custom` |
| Configuration | Value |
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Required Variables | `AUTH_CUSTOM_CLIENT_ID`<br/>`AUTH_CUSTOM_CLIENT_SECRET`<br/>`AUTH_CUSTOM_ISSUER`<br/>`AUTH_CUSTOM_NAME` (any, used only in UI) |
| Optional Variables | `AUTH_CUSTOM_ALLOW_ACCOUNT_LINKING=true`<br/>`AUTH_CUSTOM_SCOPE` (defaults to `"openid email profile"`)<br/>`AUTH_CUSTOM_CLIENT_AUTH_METHOD` (defaults to `"client_secret_basic"`) |
| OAuth Redirect URL | `/api/auth/callback/custom` |

## Additional configuration

Expand Down

0 comments on commit 4c65c13

Please sign in to comment.