Skip to content

oidc: advertise token_endpoint_auth_methods_supported in discovery#167

Merged
mikeodr merged 1 commit into
tailscale:mainfrom
ScrappyXII:scrappyxii/oidc-token-endpoint-auth-methods
Apr 22, 2026
Merged

oidc: advertise token_endpoint_auth_methods_supported in discovery#167
mikeodr merged 1 commit into
tailscale:mainfrom
ScrappyXII:scrappyxii/oidc-token-endpoint-auth-methods

Conversation

@ScrappyXII
Copy link
Copy Markdown
Contributor

Fixes #143.

TSIDP's OIDC discovery document currently omits token_endpoint_auth_methods_supported, which breaks interoperability with clients (e.g. NextAuth) that rely on discovery metadata to determine how to authenticate to the
token endpoint.

This change adds:
"token_endpoint_auth_methods_supported" to /.well-known/openid-configuration, matching the token endpoint’s supported authentication method.

Notes:

  • This aligns TSIDP with OIDC discovery expectations and improves client compatibility.
  • Discovery document now includes the new field and tests updated

Signed-off-by: Marc Manza marc@tailscale.com>

Fixes tailscale#143.

Add token_endpoint_auth_methods_supported to the OIDC discovery
document so clients can determine how to authenticate to the token
endpoint.

Signed-off-by: Marc Manza <marc@tailscale.com>
@mikeodr mikeodr merged commit 41c828c into tailscale:main Apr 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OIDC discovery missing token_endpoint_auth_methods_supported breaks interoperability with NextAuth (and other OIDC clients)

2 participants