From 84879600d024cc454518878c3e4448471ddb86cd Mon Sep 17 00:00:00 2001 From: maxid Date: Tue, 9 Dec 2025 20:52:31 +0100 Subject: [PATCH] update documentation for oauth --- Writerside/topics/authentication-setup.md | 25 ++--------------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/Writerside/topics/authentication-setup.md b/Writerside/topics/authentication-setup.md index a3d20f6..5b1c27d 100644 --- a/Writerside/topics/authentication-setup.md +++ b/Writerside/topics/authentication-setup.md @@ -60,35 +60,14 @@ Display name for the OpenID Connect provider that will be shown on the login pag #### Redirect URI -The OpenID server will likely require a redirect URI. The exact path depends on the `name` of the OIDC provider. Note -that the `name` is case-sensitive. +The OpenID server will likely require a redirect URI. This URL will usually look something like this: ``` -{FRONTEND_URL}/api/v1/auth/cookie/{OPENID_NAME}/callback +{MEDIAMANAGER_URL}/api/v1/auth/oauth/callback ``` It is very important that you set the correct callback URI, otherwise it won't work! - -E.g.: I set `MyAuthProvider` as the `name` in the `[auth.openid_connect]` config section, thus the redirect URI would -be: - -``` -https://mediamanager.example.com/api/v1/auth/cookie/MyAuthProvider/callback -``` - -#### Authentik Example {collapsible="true"} - -Here is an example configuration for the OpenID Connect provider for Authentik. - -![authentik-example-config.png](authentik-example-config.png) - -#### PocketID Example {collapsible="true"} - -Here is an example configuration for the OpenID Connect provider for PocketID. - -![pocketid-example-config.png](pocketid-example-config.png) - ## Example Configuration Here's a complete example of the authentication section in your `config.toml`: