Skip to content

Commit

Permalink
fix: specify client ID when using private key
Browse files Browse the repository at this point in the history
  • Loading branch information
ericnorris authored and monde committed Aug 1, 2022
1 parent add3016 commit 6a8a260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion okta/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func (c *Config) loadAndValidate(ctx context.Context) error {
case c.privateKey != "":
setters = append(
setters,
okta.WithPrivateKey(c.privateKey), okta.WithPrivateKeyId(c.privateKeyId), okta.WithScopes(c.scopes), okta.WithAuthorizationMode("PrivateKey"),
okta.WithPrivateKey(c.privateKey), okta.WithPrivateKeyId(c.privateKeyId), okta.WithScopes(c.scopes), okta.WithClientId(c.clientID), okta.WithAuthorizationMode("PrivateKey"),
)
}

Expand Down

0 comments on commit 6a8a260

Please sign in to comment.