Skip to content

docs(sso): note OIDC client_secret_post token endpoint auth method#2545

Merged
Charlie-Boyer merged 1 commit into
mainfrom
auto-docs/moon-landing-pr-18553
Jun 10, 2026
Merged

docs(sso): note OIDC client_secret_post token endpoint auth method#2545
Charlie-Boyer merged 1 commit into
mainfrom
auto-docs/moon-landing-pr-18553

Conversation

@Charlie-Boyer

@Charlie-Boyer Charlie-Boyer commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Document that Hugging Face authenticates to the IdP token endpoint using client_secret_post by default, and that IdP apps expecting a different method fail with invalid_client. Helps customers resolve OIDC SSO login failures on the IdP side.


Note

Low Risk
Documentation-only change with no runtime or security logic impact.

Overview
Adds a TIP callout to the SSO configuration guides index explaining that Hugging Face uses client_secret_post when calling the IdP token endpoint during the authorization code exchange.

It notes that IdP apps set to another method (e.g. client_secret_basic) can fail with invalid_client, and directs admins to set token endpoint authentication to client_secret_post on the IdP side.

Reviewed by Cursor Bugbot for commit 9a9c4d8. Bugbot is set up for automated code reviews on this repo. Configure here.

Document that Hugging Face authenticates to the IdP token endpoint using
client_secret_post by default, and that IdP apps expecting a different
method fail with invalid_client. Helps customers resolve OIDC SSO login
failures on the IdP side.
@Charlie-Boyer Charlie-Boyer self-assigned this Jun 10, 2026
@Charlie-Boyer
Charlie-Boyer requested a review from Kakulukian June 10, 2026 13:22
@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@Charlie-Boyer
Charlie-Boyer merged commit 5a68c36 into main Jun 10, 2026
3 checks passed
@Charlie-Boyer
Charlie-Boyer deleted the auto-docs/moon-landing-pr-18553 branch June 10, 2026 14:11
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.

3 participants