Skip to content

Commit

Permalink
Add client_credentials to config overrides
Browse files Browse the repository at this point in the history
applyConfigOverrides() introduced a default list of grant types that
were allowed which didn't include client credentials because we
introduced it from an external PR.

This change adds client_credentials to the list.
  • Loading branch information
kellyma2 committed Aug 27, 2024
1 parent ed620d5 commit 932e723
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/dex/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,7 @@ func applyConfigOverrides(options serveOptions, config *Config) {
"refresh_token",
"urn:ietf:params:oauth:grant-type:device_code",
"urn:ietf:params:oauth:grant-type:token-exchange",
"client_credentials",
}
}
}
Expand Down

0 comments on commit 932e723

Please sign in to comment.