first draft

This commit is contained in:
James Batt 2022-04-15 14:07:32 +10:00
parent a6ad6604aa
commit 2140cbf33c
3 changed files with 4 additions and 5 deletions

View file

@ -75,6 +75,9 @@ func GrantTypes(c Configuration) []oidc.GrantType {
if c.GrantTypeRefreshTokenSupported() {
grantTypes = append(grantTypes, oidc.GrantTypeRefreshToken)
}
if c.GrantTypeClientCredentialsSupported() {
grantTypes = append(grantTypes, oidc.GrantTypeClientCredentials)
}
if c.GrantTypeTokenExchangeSupported() {
grantTypes = append(grantTypes, oidc.GrantTypeTokenExchange)
}