From c74017d1fc0533e4d62e1d37211a5d415f16499c Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Tue, 16 Jan 2024 08:56:24 +0100 Subject: [PATCH] feat(netbird): Use preferred_username instead of uuid --- machines/storage01/netbird/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/machines/storage01/netbird/default.nix b/machines/storage01/netbird/default.nix index aaaf1aa..23022cd 100644 --- a/machines/storage01/netbird/default.nix +++ b/machines/storage01/netbird/default.nix @@ -29,6 +29,7 @@ in NETBIRD_AUTH_AUDIENCE = "netbird_dgn"; NETBIRD_AUTH_CLIENT_ID = "netbird_dgn"; + NETBIRD_AUTH_USER_ID_CLAIM = "preferred_username"; # Updates the preference to use id tokens instead of access token on dashboard # Okta and Gitlab IDPs can benefit from this NETBIRD_TOKEN_SOURCE = "idToken";