fix: parse max_age and prompt correctly (and change scope type)
This commit is contained in:
parent
3e336a4075
commit
9721fc8882
16 changed files with 98 additions and 85 deletions
|
@ -17,8 +17,8 @@ import (
|
|||
var (
|
||||
Encoder = func() utils.Encoder {
|
||||
e := schema.NewEncoder()
|
||||
e.RegisterEncoder(oidc.Scopes{}, func(value reflect.Value) string {
|
||||
return value.Interface().(oidc.Scopes).Encode()
|
||||
e.RegisterEncoder(oidc.SpaceDelimitedArray{}, func(value reflect.Value) string {
|
||||
return value.Interface().(oidc.SpaceDelimitedArray).Encode()
|
||||
})
|
||||
return e
|
||||
}()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue