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

Docs reference client_token error references client_secret #33

Closed
cbelsole opened this issue Feb 17, 2023 · 1 comment · Fixed by #34
Closed

Docs reference client_token error references client_secret #33

cbelsole opened this issue Feb 17, 2023 · 1 comment · Fixed by #34

Comments

@cbelsole
Copy link

The docs reference the config path authentication.methods.oidc.providers.[provider].client_token. This is incorrect. It should be authentication.methods.oidc.providers.[provider].client_secret as defined on the type. When you use client_token you get this error message from the server.

"message": "handling OIDC callback: Provider.Exchange: unable to exchange auth code with provider: oauth2: cannot fetch token: 400 Bad Request
Response: 
{
  "error": "invalid_request",
  "error_description": "client_secret is missing."
}
@GeorgeMac
Copy link
Contributor

Thanks @cbelsole 🙏

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 a pull request may close this issue.

2 participants