Fix scope in userinfo endpoint.
This commit is contained in:
parent
3483e3f163
commit
bf27696137
|
@ -55,7 +55,7 @@ class UserInfoEndpoint(object):
|
|||
'sub': self.token.id_token.get('sub'),
|
||||
}
|
||||
|
||||
standard_claims = StandardClaims(self.token.user, self.token.scope.split())
|
||||
standard_claims = StandardClaims(self.token.user, self.token.scope)
|
||||
|
||||
dic.update(standard_claims.create_response_dic())
|
||||
|
||||
|
|
Loading…
Reference in a new issue