Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

Commit

Permalink
Merge pull request #576 from rolsonquadras/oidc-scope
Browse files Browse the repository at this point in the history
fix: set credential scopes in oidc.New function
  • Loading branch information
rolsonquadras authored Jan 24, 2022
2 parents b642cdb + d11ca74 commit e7a8fd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/restapi/issuer/operation/oidc_operations.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func (o *Operation) getOIDCClient(issuerID, providerURL string) (oidcClient, err
OIDCClientSecret: clientData.Secret,
OIDCClientSecretExpiry: clientData.Expiry,
OIDCCallbackURL: o.oidcCallbackURL,
Scopes: clientData.Scopes,
})
if err != nil {
return nil, fmt.Errorf("constructing oidc client: %w", err)
Expand Down

0 comments on commit e7a8fd1

Please sign in to comment.