This commit is contained in:
soraefir
2026-05-15 02:46:04 +02:00
parent b6de2d2ccf
commit 03bec133ba
2 changed files with 2 additions and 2 deletions

View File

@@ -81,7 +81,7 @@ in {
.oauth.profileSigningAlgorithm = "RS256" |
.oauth.clientId = "immich" |
.oauth.clientSecret = "'"$IMMICH_OAUTH_SECRET"'" |
.oauth.issuerUrl = "https://${serverCfg.containers.authentik.subdomain}.${serverCfg.domain}" |
.oauth.issuerUrl = "https://${serverCfg.containers.authentik.subdomain}.${serverCfg.domain}/application/o/immich/" |
.oauth.scope = "openid profile email" |
.oauth.buttonText = "Login with SSO"' | \
${pkgs.curl}/bin/curl -s -X PUT "$IMMICH_URL/api/system-config" -H "Cookie: immich_access_token=$IMMICH_TOKEN; immich_auth_type=password; immich_is_authenticated=true" -H "Content-Type: application/json" -d @-

View File

@@ -75,4 +75,4 @@ entries:
name: ldap
group: _
provider:
- !Find [authentik_providers_ldap.ldapprovider, [name, ldap-provider]]
!Find [authentik_providers_ldap.ldapprovider, [name, ldap-provider]]