[GH-ISSUE #2247] Login with URL from linux cli give HTTP ERROR 404 #4495

Closed
opened 2026-08-05 00:58:00 -04:00 by saavagebueno · 4 comments
Owner

Originally created by @Marcus1Pierce on GitHub (Jul 9, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/2247

Describe the problem

I have a self-hosted Netbird with Authentik. Everything runs normally from login to dashboard and connect on netbird windows. But there is 1 problem when I want to connect from linux via cli. When copying the url obtained from linux and pasting it in the browser, after logging in with the link the error HTTP ERROR 404 appears.

To Reproduce

Steps to reproduce the behavior:

  1. Create self-hosted NetBird with Authentik (Using this tutorial).
  2. Login to NetBird dashboard.
  3. Add peers on linux client (No GUI) and copy URL from terminal (example: https://sso.example.com/device?code=542632971).
  4. Login using URL from linux terminal in windows browser.
  5. Browser give error.

Expected behavior

Linux client give "Connected" message.

Are you using NetBird Cloud?
No

Please specify whether you use NetBird Cloud or self-host NetBird's control plane
I am using self-host NetBird's

Screenshots

If applicable, add screenshots to help explain your problem.

image

Additional context

I don't know if this netbird issue, wrong step when i follow tutorial or Authentik issue.

Originally created by @Marcus1Pierce on GitHub (Jul 9, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/2247 **Describe the problem** I have a self-hosted Netbird with Authentik. Everything runs normally from login to dashboard and connect on netbird windows. But there is 1 problem when I want to connect from linux via cli. When copying the url obtained from linux and pasting it in the browser, after logging in with the link the error `HTTP ERROR 404` appears. **To Reproduce** Steps to reproduce the behavior: 1. Create self-hosted NetBird with Authentik (Using this [tutorial](https://docs.netbird.io/selfhosted/identity-providers#authentik)). 2. Login to NetBird dashboard. 3. Add peers on linux client (No GUI) and copy URL from terminal `(example: https://sso.example.com/device?code=542632971)`. 4. Login using URL from linux terminal in windows browser. 5. Browser give error. **Expected behavior** Linux client give "Connected" message. **Are you using NetBird Cloud?** No **Please specify whether you use NetBird Cloud or self-host NetBird's control plane** I am using self-host NetBird's **Screenshots** If applicable, add screenshots to help explain your problem. ![image](https://github.com/netbirdio/netbird/assets/72237814/83b9ecf1-27ff-432e-b91c-fca10f5f5ddf) **Additional context** I don't know if this netbird issue, wrong step when i follow tutorial or Authentik issue.
saavagebueno added the waiting-feedbacktriage-needed labels 2026-08-05 00:58:00 -04:00
Author
Owner

@nazarewk commented on GitHub (Apr 23, 2025):

Is this still an issue for you with the latest NetBird/setup scripts versions?

<!-- gh-comment-id:2824967277 --> @nazarewk commented on GitHub (Apr 23, 2025): Is this still an issue for you with the latest NetBird/setup scripts versions?
Author
Owner

@Marcus1Pierce commented on GitHub (Apr 23, 2025):

@nazarewk In the current version of Netbird 0.41.3, I just tried it, and after logging in, the authentik issue still appears as shown in the image. I haven't tried the latest version 0.42.0 yet. I'll update the Netbird server and client first.

<!-- gh-comment-id:2825929238 --> @Marcus1Pierce commented on GitHub (Apr 23, 2025): @nazarewk In the current version of Netbird 0.41.3, I just tried it, and after logging in, the authentik issue still appears as shown in the image. I haven't tried the latest version 0.42.0 yet. I'll update the Netbird server and client first.
Author
Owner

@Marcus1Pierce commented on GitHub (Apr 23, 2025):

After I updated all Netbird servers and clients to version 0.42.0, I still couldn't log in using the URL provided during the terminal login process.

<!-- gh-comment-id:2825939209 --> @Marcus1Pierce commented on GitHub (Apr 23, 2025): After I updated all Netbird servers and clients to version 0.42.0, I still couldn't log in using the URL provided during the terminal login process.
Author
Owner

@Marcus1Pierce commented on GitHub (Jul 10, 2025):

I don't know since when, but now logging in via the Linux CLI using the link provided in the terminal works.

<!-- gh-comment-id:3055834365 --> @Marcus1Pierce commented on GitHub (Jul 10, 2025): I don't know since when, but now logging in via the Linux CLI using the link provided in the terminal works.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#4495