fix(op): add scope to access token scope

This commit is contained in:
Iñaki Segura 2024-10-09 17:50:23 +02:00
parent 8afb8b8d5f
commit ee6e4acb2a
7 changed files with 14 additions and 9 deletions

View file

@ -65,6 +65,7 @@ func CreateTokenResponse(ctx context.Context, request IDTokenRequest, client Cli
TokenType: oidc.BearerToken,
ExpiresIn: exp,
State: state,
Scope: request.GetScopes(),
}, nil
}