diff options
| author | Joe Mou <dev@mou.fo> | 2024-02-15 12:39:20 -0500 |
|---|---|---|
| committer | Joe Mou <dev@mou.fo> | 2024-02-15 12:40:11 -0500 |
| commit | 2ae934f1b60161d727c3c673f65dd95f4125b727 (patch) | |
| tree | 1106a9ea27ec95dd826c7ae2795125889f646783 /hostnix/elmo/oidc.nix | |
| parent | d1dd864df4f2b8acb0082b1198639cc5d7d9a7f9 (diff) | |
Kludgy fix for oauth2_proxy on boot
Diffstat (limited to 'hostnix/elmo/oidc.nix')
| -rw-r--r-- | hostnix/elmo/oidc.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hostnix/elmo/oidc.nix b/hostnix/elmo/oidc.nix index b2c34e5..7648e8c 100644 --- a/hostnix/elmo/oidc.nix +++ b/hostnix/elmo/oidc.nix @@ -51,4 +51,9 @@ "oidc-email-claim" = "sub"; }; }; + + # Kludge to bring up after KeyCloak (otherwise OIDC discovery fails). A simple + # ordering dependency isn't enough because keycloak.service is active before + # KeyCloak responds to requests. + systemd.services.oauth2_proxy.serviceConfig.RestartSec = 5; } |
