nixos/keycloak: frontendUrl always needs to be suffixed with /

In some places, Keycloak expects the frontendUrl to end with `/`, so
let's make sure it always does.
This commit is contained in:
talyz 2021-05-07 15:33:45 +02:00
parent 58614f8416
commit 83e406e97a
No known key found for this signature in database
GPG key ID: 2DED2151F4671A2B

View file

@ -54,6 +54,7 @@ in
frontendUrl = lib.mkOption {
type = lib.types.str;
apply = x: if lib.hasSuffix "/" x then x else x + "/";
example = "keycloak.example.com/auth";
description = ''
The public URL used as base for all frontend requests. Should