[GH-ISSUE #1115] Google Workspace IdP not setting email addresses properly #1783

Open
opened 2026-08-05 00:43:57 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @marcbudofsky on GitHub (Aug 30, 2023).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/1115

Describe the problem
With a clean install of v0.22.7 and leveraging Google Workspace as the IdP, users are only showing ID's with no email attribute set. Based on #959, NETBIRD_MGMT_IDP="none" has been defined in setup.env to fix the Invalid JWT issue. I'm assuming the lack of email addresses is a side effect.

To Reproduce
Steps to reproduce the behavior:

  1. Pull latest https://github.com/netbirdio/netbird.git
  2. Copy infrastructure_files/setup.env.template to infrastructure_files/setup.env (overwrite existing file from old version)
  3. Fill in correct values as identified in the Google Workspace setup guide: https://docs.netbird.io/selfhosted/identity-providers#google-workspace
  4. Re-run ./configure.sh
  5. Run docker compose pull && docker compose down && docker compose up -d

Expected behavior
Email addresses are set in Netbird when a user entry is created.

Screenshots
users
user-details

Additional context
Setting NETBIRD_MGMT_IDP="google" caused an Invalid JWT error and rendered Netbird unusable.

Originally created by @marcbudofsky on GitHub (Aug 30, 2023). Original GitHub issue: https://github.com/netbirdio/netbird/issues/1115 **Describe the problem** With a clean install of v0.22.7 and leveraging Google Workspace as the IdP, users are only showing ID's with no email attribute set. Based on #959, `NETBIRD_MGMT_IDP="none"` has been defined in setup.env to fix the Invalid JWT issue. I'm assuming the lack of email addresses is a side effect. **To Reproduce** Steps to reproduce the behavior: 1. Pull latest https://github.com/netbirdio/netbird.git 2. Copy infrastructure_files/setup.env.template to infrastructure_files/setup.env (overwrite existing file from old version) 3. Fill in correct values as identified in the Google Workspace setup guide: https://docs.netbird.io/selfhosted/identity-providers#google-workspace 4. Re-run ./configure.sh 5. Run docker compose pull && docker compose down && docker compose up -d **Expected behavior** Email addresses are set in Netbird when a user entry is created. **Screenshots** ![users](https://github.com/netbirdio/netbird/assets/104649/6fb0e4c1-f7ef-4523-b2f0-b077f3835c78) ![user-details](https://github.com/netbirdio/netbird/assets/104649/92d097c4-b3c5-4cfe-8fed-d3e4fad0ee08) **Additional context** Setting `NETBIRD_MGMT_IDP="google"` caused an Invalid JWT error and rendered Netbird unusable.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#1783