fix: restrict additional scopes
This commit is contained in:
parent
6ba72be7ea
commit
f48d6f8361
4 changed files with 24 additions and 1 deletions
|
@ -284,6 +284,14 @@ func (c *ConfClient) AllowedScopes() []string {
|
|||
return nil
|
||||
}
|
||||
|
||||
//
|
||||
//func (c *ConfClient) AssertAdditionalIdTokenScopes() bool {
|
||||
// return false
|
||||
//}
|
||||
//func (c *ConfClient) AssertAdditionalAccessTokenScopes() bool {
|
||||
// return false
|
||||
//}
|
||||
|
||||
func (c *ConfClient) RestrictAdditionalIdTokenScopes() func(scopes []string) []string {
|
||||
return func(scopes []string) []string {
|
||||
return scopes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue