implemented support for client_credentials grant

This commit is contained in:
James Batt 2022-04-15 12:59:05 +10:00
parent 550f7877f2
commit a6ad6604aa
6 changed files with 147 additions and 2 deletions

View file

@ -229,6 +229,11 @@ func (o *openidProvider) GrantTypeJWTAuthorizationSupported() bool {
return true
}
func (o *openidProvider) GrantTypeClientCredentialsSupported() bool {
_, ok := o.storage.(ClientCredentialsXXX)
return ok
}
func (o *openidProvider) IntrospectionAuthMethodPrivateKeyJWTSupported() bool {
return true
}