From b07e0294aa573099aa19eefd778692379f915bdc Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Tue, 20 Feb 2024 09:44:46 +0100 Subject: [PATCH] feat(netbird): Switch back to sub for ids --- machines/storage01/netbird/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machines/storage01/netbird/default.nix b/machines/storage01/netbird/default.nix index 736deb0..7291c67 100644 --- a/machines/storage01/netbird/default.nix +++ b/machines/storage01/netbird/default.nix @@ -29,7 +29,7 @@ in NETBIRD_AUTH_AUDIENCE = "netbird_dgn"; NETBIRD_AUTH_CLIENT_ID = "netbird_dgn"; - NETBIRD_AUTH_USER_ID_CLAIM = "preferred_username"; + NETBIRD_AUTH_USER_ID_CLAIM = "sub"; # 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";