Skip to content

Commit

Permalink
Reset context when getting token
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiught committed Jun 27, 2023
1 parent 8c2063a commit 67e03c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func ConfigureProvider(terraformVersion *string) schema.ConfigureContextFunc {
debug := data.Get("debug").(bool)

apiClient, err := management.New(domain,
authenticationOption(ctx, clientID, clientSecret, apiToken, audience),
authenticationOption(clientID, clientSecret, apiToken, audience),
management.WithDebug(debug),
management.WithUserAgent(userAgent(terraformVersion)),
management.WithAuth0ClientEnvEntry(providerName, version),
Expand Down

0 comments on commit 67e03c0

Please sign in to comment.