tangled
alpha
login
or
join now
wiro.world
/
dotfiles
2
fork
atom
yep, more dotfiles
2
fork
atom
overview
issues
1
pulls
1
pipelines
server: fix grafana oauth config
wiro.world
4 months ago
622b7a3e
f61e2711
verified
This commit was signed with the committer's
known signature
.
wiro.world
SSH Key Fingerprint:
SHA256:SmMcWpNAnL+VAgItSawvXgdPVn7f1rsyAuB/5VNclKY=
+2
-4
1 changed file
expand all
collapse all
unified
split
nixos
profiles
server.nix
+2
-4
nixos/profiles/server.nix
reviewed
···
293
293
server = {
294
294
http_port = grafana-port;
295
295
domain = grafana-hostname;
296
296
+
root_url = "https://${grafana-hostname}";
296
297
};
297
298
298
298
-
"auth.generic_auth" = {
299
299
+
"auth.generic_oauth" = {
299
300
enable = true;
300
301
name = "Authelia";
301
302
icon = "signin";
···
307
308
auth_url = "https://auth.wiro.world/api/oidc/authorization";
308
309
token_url = "https://auth.wiro.world/api/oidc/token";
309
310
api_url = "https://auth.wiro.world/api/oidc/userinfo";
310
310
-
login_attribute_path = "preferred_username";
311
311
-
groups_attribute_path = "groups";
312
312
-
name_attribute_path = "name";
313
311
use_pkce = true;
314
312
};
315
313
};