Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add peers using SSO goes wrong #3373

Open
linx01 opened this issue Feb 23, 2025 · 4 comments
Open

Add peers using SSO goes wrong #3373

linx01 opened this issue Feb 23, 2025 · 4 comments

Comments

@linx01
Copy link

linx01 commented Feb 23, 2025

Setup of Authentik as SSO went well, I can login with SSO and see web management console as single user and I am able to add properly functioning peers with a setup key. But using SSO to add peers does not work correctly.

And I also configure the brand 's option "device-code-flow" with "default-device-code-flow".
Image

When I add peers using SSO, click "connect" bottom on netbird client, browsers redirects to authentik and successfully back to netbird self-hosted admin page http://address/peers, everything goes well, but the netbird client goes errors, peer isn't added successfully
Image
And check /var/log/netbird/client.log, it shows peers auth method not provided

Image

When I add peers using command line "netbird up --setup-key xxx", it goes well

@GeorgeDaGreatt
Copy link

GeorgeDaGreatt commented Feb 23, 2025

Are you using a reverse proxy, and if so, what proxy do you have? (I had the same issue)

@linx01
Copy link
Author

linx01 commented Feb 23, 2025

Are you using a reverse proxy, and if so, what proxy do you have? (I had the same issue)

At the begining, I used nginx as the reverse proxy.
Yesterday I replaced it with traefik.

@GeorgeDaGreatt
Copy link

You can have a look at my issue on this, it may provide more information on how to troubleshoot:

Issue 3110

@linx01
Copy link
Author

linx01 commented Feb 23, 2025

您可以查看我对此的问题,它可能会提供有关如何进行故障排除的更多信息:

问题 3110

thank you, I had seen this issue you commited before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants