Skip to content

Commit

Permalink
Provider: Fix oauth2.password decoding issue (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
magodo committed Oct 19, 2023
1 parent 80c1ebb commit fa2fa1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ func (p *Provider) Init(ctx context.Context, config providerConfig) diag.Diagnos
switch {
case !oauth2.Password.IsNull():
var password oauth2PasswordData
if diags := oauth2.Password.As(ctx, &oauth2, basetypes.ObjectAsOptions{}); diags.HasError() {
if diags := oauth2.Password.As(ctx, &password, basetypes.ObjectAsOptions{}); diags.HasError() {
odiags = diags
return
}
Expand Down

0 comments on commit fa2fa1d

Please sign in to comment.