@@ -221,7 +221,7 @@ func newServer(ctx context.Context, c Config, rotationStrategy rotationStrategy)
|
|||||||
supportedRes[respType] = true
|
supportedRes[respType] = true
|
||||||
}
|
}
|
||||||
|
|
||||||
supportedGrant := []string{grantTypeAuthorizationCode, grantTypeRefreshToken, grantTypeDeviceCode} //default
|
supportedGrant := []string{grantTypeAuthorizationCode, grantTypeRefreshToken, grantTypeDeviceCode} // default
|
||||||
if c.PasswordConnector != "" {
|
if c.PasswordConnector != "" {
|
||||||
supportedGrant = append(supportedGrant, grantTypePassword)
|
supportedGrant = append(supportedGrant, grantTypePassword)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user