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";