Skip to content

OIDC user on logout from dashboard does not log user out with internal IdP disabled #5723

@klinkeye

Description

@klinkeye

Describe the problem

User is immediately logged back in to Netbird when logging out from the Dashboard, if internal IdP is disabled. In my case Authentik is the IdP.

To Reproduce

Steps to reproduce the behavior:

  1. Ensure internal IdP is disabled
  2. Log into Netbird via IdP
  3. Click on user top right and select log out
  4. User is logged out, but then redirected to IdP and logged back in due to IdP session still valid

Expected behavior

User should be logged out of Netbird, and remain logged out.

Are you using NetBird Cloud?

Self-hosted

NetBird version

Management v0.67.1
Dashboard v2.36.0

Is any other VPN software installed?

No

Debug output

Peers detail:
flex-per-fw01.netbird.ftl.anon-1V9Bj.domain:
NetBird IP: 100.125.71.121
Public key: Xpxx7v/grDuTKJ/XQZsOy7LkJQV2lsNCdPQSE0hlzyc=
Status: Connected
-- detail --
Connection type: P2P
ICE candidate (Local/Remote): srflx/host
ICE candidate endpoints (Local/Remote): 198.51.100.0:51820/198.51.100.1:30018
Relay server address: rels://netbird.ftl.anon-1V9Bj.domain:443
Last connection update: 20 minutes, 16 seconds ago
Last WireGuard handshake: 1 minute, 29 seconds ago
Transfer status (received/sent) 132.4 KiB/131.4 KiB
Quantum resistance: false
Networks: -
Latency: 59.5544ms

desktop-ssqsibm.netbird.ftl.anon-1V9Bj.domain:
NetBird IP: 100.125.72.59
Public key: dgiqGLPGw1pNGfNcE4ArFMNNnyrdUtN65mnPbj/UmDY=
Status: Connecting
-- detail --
Connection type: -
ICE candidate (Local/Remote): -/-
ICE candidate endpoints (Local/Remote): -/-
Relay server address:
Last connection update: 23 minutes, 46 seconds ago
Last WireGuard handshake: -
Transfer status (received/sent) 0 B/0 B
Quantum resistance: false
Networks: -
Latency: 0s

Events:
[INFO] SYSTEM (777999db-d0da-4a2c-b1a8-0cde2cb716f4)
Message: Network map updated
Time: 1 hour, 34 minutes ago
[INFO] SYSTEM (11838915-9e83-4ed6-8e1e-9f38c13f9271)
Message: Network map updated
Time: 1 hour, 30 minutes ago
[INFO] SYSTEM (aae7ddec-8749-4abf-8019-645716d879ac)
Message: Network map updated
Time: 1 hour, 28 minutes ago
[INFO] SYSTEM (b2d44ce6-55a1-4dba-9cd8-86327a8271ea)
Message: Network map updated
Time: 1 hour, 7 minutes ago
[INFO] SYSTEM (aecf7265-695f-4d77-891a-6e4fded9a6ad)
Message: Network map updated
Time: 1 hour, 6 minutes ago
[INFO] SYSTEM (03c65c1a-9b5c-42cd-b09d-6dd64bf4f632)
Message: Network map updated
Time: 41 minutes, 19 seconds ago
[INFO] SYSTEM (0d562360-43bd-484c-95f8-3f8cd393e6bf)
Message: Network map updated
Time: 23 minutes, 46 seconds ago
[INFO] SYSTEM (aae0d96d-1de1-44f8-8ccd-8cc66e88b83a)
Message: Network map updated
Time: 23 minutes, 34 seconds ago
[INFO] SYSTEM (17ed1f3e-3e12-4117-a1a9-894ee874d543)
Message: Network map updated
Time: 21 minutes, 1 seconds ago
[INFO] SYSTEM (a164c301-a996-4b46-9bed-c2ede804b3d8)
Message: Network map updated
Time: 20 minutes, 15 seconds ago
OS: windows/amd64
Daemon version: 0.67.1
CLI version: 0.67.1
Profile: FTL-test1
Management: Connected to https://netbird.ftl.anon-1V9Bj.domain:443
Signal: Connected to https://netbird.ftl.anon-1V9Bj.domain:443
Relays:
[stun:netbird.ftl.anon-1V9Bj.domain:3478] is Available
[rels://netbird.ftl.anon-1V9Bj.domain:443] is Available
Nameservers:
FQDN: desktop-ssqsibm-116-4.netbird.ftl.anon-1V9Bj.domain
NetBird IP: 100.125.116.4/16
Interface type: Userspace
Quantum resistance: false
Lazy connection: false
SSH Server: Disabled
Networks: -
Peers count: 1/2 Connected

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

netbird debug for 1m -AS -U

Uploaded files are automatically deleted after 30 days.

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

netbird debug for 1m -AS

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Have you tried these troubleshooting steps?

  • Reviewed client troubleshooting (if applicable)
  • 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions