netbird 0.40.0 breaks authentik sso #1805

Open
opened 2025-11-20 06:07:06 -05:00 by saavagebueno · 0 comments
Owner

Originally created by @marcportabellaclotet-mt on GitHub (Apr 10, 2025).

Originally assigned to: @mlsmaycon on GitHub.

Describe the problem

netbird v0.40.0 enforces prompt=login in the redirect uri used in sso connections.

Authentik does not handle well the prompt=login directive, and it makes the authentik authentication flow to happen twice.(authentik issues).

But if you use social login in authentik then the netbird sso connection is totally broken and you are not able to login.

To Reproduce

Configure authentik as idp
Enabled google source login
Login to netbird.

Expected behavior

The enforcement of prompt=login in tha netbird cli should be optional.

Additional context

Rolling back the client to v0.39.2 solves the issue.

Have you tried these troubleshooting steps?

  • Checked for newer NetBird versions
  • Searched for similar issues on GitHub (including closed ones)
  • Restarted the NetBird client
  • Disabled other VPN software
  • Checked firewall settings
Originally created by @marcportabellaclotet-mt on GitHub (Apr 10, 2025). Originally assigned to: @mlsmaycon on GitHub. **Describe the problem** netbird v0.40.0 enforces prompt=login in the redirect uri used in sso connections. Authentik does not handle well the prompt=login directive, and it makes the authentik authentication flow to happen twice.([authentik issues](https://github.com/goauthentik/authentik/issues/12182)). But if you use social login in authentik then the netbird sso connection is totally broken and you are not able to login. **To Reproduce** Configure authentik as idp Enabled google source login Login to netbird. **Expected behavior** The enforcement of prompt=login in tha netbird cli should be optional. **Additional context** Rolling back the client to v0.39.2 solves the issue. **Have you tried these troubleshooting steps?** - [x] Checked for newer NetBird versions - [x] Searched for similar issues on GitHub (including closed ones) - [x] Restarted the NetBird client - [x] Disabled other VPN software - [x] Checked firewall settings
saavagebueno added the triage-needed label 2025-11-20 06:07:06 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1805