[GH-ISSUE #4915] Couldn't login with only my mac. other mac working well #10090

Open
opened 2026-08-05 01:24:36 -04:00 by saavagebueno · 2 comments
Owner

Originally created by @sdg9670f on GitHub (Dec 4, 2025).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/4915

Describe the problem

When attempting to log in to a self-hosted NetBird management server on a specific macOS device, the SSO browser window fails to open entirely. Instead of redirecting to the browser for authentication, an error notification is displayed immediately.

The issue is strictly isolated to this specific combination:

  1. This specific Mac + NetBird Cloud (SaaS) = Works (Browser opens, connects).
  2. Other Macs + My Self-hosted Server = Works (Browser opens, connects).
  3. This specific Mac + My Self-hosted Server = Fails (Browser does not open).

To Reproduce

Steps to reproduce the behavior:

  1. On the specific macOS device, configure the NetBird client to use the self-hosted management URL (e.g., netbird up --management-url https://my-netbird.domain).
  2. Click on 'Connect' or run netbird up.
  3. Observe that the default web browser does not open.
  4. See an error notification/message immediately.

Expected behavior

I expected the default web browser to open automatically to initiate the SSO authentication process, allowing me to log in.

Are you using NetBird Cloud?

No, I am using a self-hosted NetBird control plane.

NetBird version

0.60.7

Is any other VPN software installed?

No

Debug output

To help us resolve the problem, please attach the following anonymized status output

client /var/log/netbird/client.log
2025-12-05T13:49:26+09:00 INFO client/server/server.go:478: active profile: default for 
2025-12-05T13:49:26+09:00 ERRO shared/management/client/grpc.go:349: failed to login to Management Service: rpc error: code = PermissionDenied desc = no peer auth method provided, please use a setup key or interactive SSO login
2025-12-05T13:49:26+09:00 WARN client/server/server.go:288: failed login: rpc error: code = InvalidArgument desc = invalid setup-key or no sso information provided, err: invalid UUID length: 0
2025-12-05T13:49:26+09:00 WARN client/internal/device_auth.go:83: server couldn't find device flow, contact admin: rpc error: code = NotFound desc = no device authorization flow information available


client cli
2025-12-05T13:51:41+09:00 DEBG client/cmd/up.go:291: failed to get profile state for login hint: profile state file does not exist
2025-12-05T13:51:41+09:00 WARN client/cmd/root.go:245: retrying Login to the Management service in 512.376507ms due to error rpc error: code = Unknown desc = no SSO provider returned from management. Please proceed with setting up this device using setup keys https://docs.netbird.io/how-to/register-machines-using-setup-keys


server log
management-1    | 2025-12-05T04:51:44Z WARN [context: GRPC, requestID: ~~~~~~~~~~, accountID: UNKNOWN, peerID: ~~~~~~~~~] management/internals/shared/grpc/server.go:603: failed logging in peer pODcVgR2fb1WeempN57CHpeXeSFmzkF3KBbsIqGk/wE=: no peer auth method provided, please use a setup key or interactive SSO login

Create and upload a debug bundle, and share the returned file key:

Uploaded files are automatically deleted after 30 days.

Alternatively, create the file only and attach it here manually:

  netbird debug for 1m -AS

Screenshots

Additional context

As mentioned in the description, this issue seems specific to the environment of this single macOS machine when communicating with my self-hosted instance.

  • The self-hosted server is functioning correctly for other clients.
  • The problematic Mac has no issues connecting to the official NetBird Cloud.
  • I suspect there might be a specific local configuration, certificate trust issue, or network setting on this Mac conflicting with the self-hosted endpoint.

Have you tried these troubleshooting steps?

Originally created by @sdg9670f on GitHub (Dec 4, 2025). Original GitHub issue: https://github.com/netbirdio/netbird/issues/4915 **Describe the problem** When attempting to log in to a self-hosted NetBird management server on a specific macOS device, the SSO browser window fails to open entirely. Instead of redirecting to the browser for authentication, an error notification is displayed immediately. The issue is strictly isolated to this specific combination: 1. **This specific Mac** + **NetBird Cloud (SaaS)** = **Works** (Browser opens, connects). 2. **Other Macs** + **My Self-hosted Server** = **Works** (Browser opens, connects). 3. **This specific Mac** + **My Self-hosted Server** = **Fails** (Browser does not open). **To Reproduce** Steps to reproduce the behavior: 1. On the specific macOS device, configure the NetBird client to use the self-hosted management URL (e.g., `netbird up --management-url https://my-netbird.domain`). 2. Click on 'Connect' or run `netbird up`. 3. Observe that the default web browser **does not open**. 4. See an error notification/message immediately. **Expected behavior** I expected the default web browser to open automatically to initiate the SSO authentication process, allowing me to log in. **Are you using NetBird Cloud?** No, I am using a self-hosted NetBird control plane. **NetBird version** 0.60.7 **Is any other VPN software installed?** No **Debug output** To help us resolve the problem, please attach the following anonymized status output ``` client /var/log/netbird/client.log 2025-12-05T13:49:26+09:00 INFO client/server/server.go:478: active profile: default for 2025-12-05T13:49:26+09:00 ERRO shared/management/client/grpc.go:349: failed to login to Management Service: rpc error: code = PermissionDenied desc = no peer auth method provided, please use a setup key or interactive SSO login 2025-12-05T13:49:26+09:00 WARN client/server/server.go:288: failed login: rpc error: code = InvalidArgument desc = invalid setup-key or no sso information provided, err: invalid UUID length: 0 2025-12-05T13:49:26+09:00 WARN client/internal/device_auth.go:83: server couldn't find device flow, contact admin: rpc error: code = NotFound desc = no device authorization flow information available client cli 2025-12-05T13:51:41+09:00 DEBG client/cmd/up.go:291: failed to get profile state for login hint: profile state file does not exist 2025-12-05T13:51:41+09:00 WARN client/cmd/root.go:245: retrying Login to the Management service in 512.376507ms due to error rpc error: code = Unknown desc = no SSO provider returned from management. Please proceed with setting up this device using setup keys https://docs.netbird.io/how-to/register-machines-using-setup-keys server log management-1 | 2025-12-05T04:51:44Z WARN [context: GRPC, requestID: ~~~~~~~~~~, accountID: UNKNOWN, peerID: ~~~~~~~~~] management/internals/shared/grpc/server.go:603: failed logging in peer pODcVgR2fb1WeempN57CHpeXeSFmzkF3KBbsIqGk/wE=: no peer auth method provided, please use a setup key or interactive SSO login ``` Create and upload a debug bundle, and share the returned file key: *Uploaded files are automatically deleted after 30 days.* Alternatively, create the file only and attach it here manually:   netbird debug for 1m -AS **Screenshots** **Additional context** As mentioned in the description, this issue seems specific to the environment of this single macOS machine when communicating with my self-hosted instance. - The self-hosted server is functioning correctly for other clients. - The problematic Mac has no issues connecting to the official NetBird Cloud. - I suspect there might be a specific local configuration, certificate trust issue, or network setting on this Mac conflicting with the self-hosted endpoint. **Have you tried these troubleshooting steps?** - [V] Reviewed [[client troubleshooting](https://docs.netbird.io/how-to/troubleshooting-client)](https://docs.netbird.io/how-to/troubleshooting-client) (if applicable) - [V] Checked for newer NetBird versions - [V] Searched for similar issues on GitHub (including closed ones) - [V] Restarted the NetBird client - [V] Disabled other VPN software - [V] Checked firewall settings
saavagebueno added the triage-needed label 2026-08-05 01:24:36 -04:00
Author
Owner

@rtgiskard commented on GitHub (Dec 24, 2025):

same issue, the web ui login with oidc ok, but the android client and container failed to login with oidc

<!-- gh-comment-id:3690700541 --> @rtgiskard commented on GitHub (Dec 24, 2025): same issue, the web ui login with oidc ok, but the android client and container failed to login with oidc
Author
Owner

@St3althy-Me0w commented on GitHub (Mar 6, 2026):

Having the same issue, did you end up resolving it?

<!-- gh-comment-id:4011292711 --> @St3althy-Me0w commented on GitHub (Mar 6, 2026): Having the same issue, did you end up resolving it?
Sign in to join this conversation.
No Label triage-needed
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#10090