fix: parse max_age and prompt correctly (and change scope type)

This commit is contained in:
Livio Amstutz 2021-06-14 11:18:28 +02:00
parent 3e336a4075
commit 9721fc8882
16 changed files with 98 additions and 85 deletions

View file

@ -1,9 +1,9 @@
package oidc
type JWTProfileGrantRequest struct {
Assertion string `schema:"assertion"`
Scope Scopes `schema:"scope"`
GrantType GrantType `schema:"grant_type"`
Assertion string `schema:"assertion"`
Scope SpaceDelimitedArray `schema:"scope"`
GrantType GrantType `schema:"grant_type"`
}
//NewJWTProfileGrantRequest creates an oauth2 `JSON Web Token (JWT) Profile` Grant