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

@ -120,5 +120,6 @@ func CreateClientCredentialsTokenResponse(ctx context.Context, tokenRequest Toke
AccessToken: accessToken,
TokenType: oidc.BearerToken,
ExpiresIn: uint64(validity.Seconds()),
Scope: tokenRequest.GetScopes(),
}, nil
}