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

fix: set credential scopes in oidc.New function #576

Merged
merged 1 commit into from
Jan 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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