-
-
Notifications
You must be signed in to change notification settings - Fork 167
Open
Labels
BugSomething isn't workingSomething isn't workingNeeds TriageIssues yet to be triagedIssues yet to be triaged
Description
Description
Also see #457. When using the same OIDC config that works in headscale with headplane, authentication fails
Configuration Issue(s)
Authentication with the SSO provider failed. Please try again later. Headplane logs may provide more information.
[auth] ERROR: Got an OIDC response error body: {"error":"invalid_client","error_description":"The OAuth client was not found."}
Workaround discovered by @alastairyu:
A workaround is to set the param:
oidc: token_endpoint_auth_method: "client_secret_post"
The documentation comment for token_endpoint_auth_method reads
The authentication method to use when communicating with the token endpoint.
This is fully optional and Headplane will attempt to auto-detect the best method and fall back toclient_secret_basicif unsure.
It seems that the auto-detection is failing and/or that the fallback method client_secret_basic is not working.
Headplane Version
v0.6.2
Headscale Version
v0.28.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't workingNeeds TriageIssues yet to be triagedIssues yet to be triaged
Projects
Status
Todo