fix
This commit is contained in:
@@ -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 @-
|
||||
|
||||
@@ -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]]
|
||||
|
||||
Reference in New Issue
Block a user