-
Notifications
You must be signed in to change notification settings - Fork 171
nix: option logout-url does not exist #2643
Copy link
Copy link
Closed
Labels
nixThings regarding nix/nixos setupThings regarding nix/nixos setup
Description
While setting up keycloak to work with docspell I followed the example config:
provider = {
provider-id = "keycloak",
client-id = "docspell",
client-secret = "example-secret-439e-bf06-911e4cdd56a6",
scope = "profile", # scope is required for OIDC
authorize-url = "http://localhost:8080/auth/realms/home/protocol/openid-connect/auth",
token-url = "http://localhost:8080/auth/realms/home/protocol/openid-connect/token",
#User URL is not used when signature key is set.
#user-url = "http://localhost:8080/auth/realms/home/protocol/openid-connect/userinfo",
logout-url = "http://localhost:8080/auth/realms/home/protocol/openid-connect/logout"
sign-key = "b64:anVzdC1hLXRlc3Q=",
sig-algo = "RS512"
},
But this leads to an error:
error: The option `services.docspell-restserver.openid."[definition 1-entry 1]".provider.logout-url' does not exist. Definition values:
- In `/nix/store/q6gr53h6ihs31295zghr2iw77c1fhfwz-source/nixosModules/services/docspell/docspell.nix': "<URL>/realms/master/protocol/openid-connect/logout"
Nix is not lying, this option indeed does not exist in server.nix :)
I'd be happy to add it as a PR. On a related note -- would this be the right time to potentially move to RFC42-compliant config? Could be a replacement of extraConfig.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
nixThings regarding nix/nixos setupThings regarding nix/nixos setup