Open Pshemas opened 3 months ago
for the time being I've created a new provider and service account to get into the dashboard, but I fully expect the problem to reappear when token expires.
same issue: Request failed with status code 401
Error: Token invalid
@Pshemas did you ever figure this out?
I updated to Authentik 2024.10.4 this morning and now I am getting this error. All my netbird users can't work. :-(
2024-11-22T14:04:04Z ERRO [context: HTTP, requestID: 0b96d0df-5391-4083-b654-554e28c5cf10] management/server/http/util/util.go:81: got a handler error: token invalid
2024-11-22T14:04:04Z ERRO [context: HTTP, requestID: 0b96d0df-5391-4083-b654-554e28c5cf10] management/server/telemetry/http_api_metrics.go:168: HTTP response 0b96d0df-5391-4083-b654-554e28c5cf10: GET /api/users status 401
I've been looking at similar reports - and I couldn't figure out which one would be best for this one, in the end decided on new one, hopefully all the appropriate ones will be merged.
So I had a working self hosted instance of Netbird with Authentik as a IdP provider. After a while it stopped working with
Token Invalid
error message... which "magically" fixed itself. But now it stopped working again and I can't access the dashboard (the service itself works, the agents can connect, but I can't do any management atm).Here's what I see in the logs:
Here's sanitized management.json:
Here's sanitized openid config:
Netbird is running inside Docker container, while Authentik in Podman one, on a separate server (with Caddy reverse proxy and Cloudflare).
I'm using Authentik for several other apps and I don't have any issues there (but there's one difference - for other apps I don't use service account setup).
On the side of Authentik I don't see any problems. Here's raw event info:
In credentials / tokens for a user that wishes to access Netbird I see:
Here are provider settings:
Any suggestions howto resolve the issue and get into the management panel are greatly appreciated. At this point I'm just blindly clicking various options as the suggestions in other topics are all over the place - it seems that I'm not the only one who has issues in pinpointing the cause / fix.
If there's some more info needed plz let me know - I'll be happy to provide it.