fix(op): add scope to access token scope
This commit is contained in:
parent
8afb8b8d5f
commit
ee6e4acb2a
7 changed files with 14 additions and 9 deletions
|
@ -89,6 +89,7 @@ func CreateJWTTokenResponse(ctx context.Context, tokenRequest TokenRequest, crea
|
|||
AccessToken: accessToken,
|
||||
TokenType: oidc.BearerToken,
|
||||
ExpiresIn: uint64(validity.Seconds()),
|
||||
Scope: tokenRequest.GetScopes(),
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue