fix: unmarshalling of scopes in access token (#320)
The Scopes field in accessTokenClaims should be a SpaceDelimitedArray, in order to allow for correct unmarshalling. Fixes #318
This commit is contained in:
parent
62f2df7fa3
commit
eea2ed1a51
1 changed files with 17 additions and 17 deletions
|
@ -83,7 +83,7 @@ type accessTokenClaims struct {
|
|||
AuthenticationContextClassReference string `json:"acr,omitempty"`
|
||||
AuthenticationMethodsReferences []string `json:"amr,omitempty"`
|
||||
SessionID string `json:"sid,omitempty"`
|
||||
Scopes []string `json:"scope,omitempty"`
|
||||
Scopes SpaceDelimitedArray `json:"scope,omitempty"`
|
||||
ClientID string `json:"client_id,omitempty"`
|
||||
AccessTokenUseNumber int `json:"at_use_nbr,omitempty"`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue