Skip to content

Commit

Permalink
fix: OIDC provider validation log message (#1380)
Browse files Browse the repository at this point in the history
Message was:

```
Custom OIDC provider "" not allowed
```

And now is:

```
Custom OIDC provider "kakao" not allowed
```
  • Loading branch information
MiryangJung authored Feb 2, 2024
1 parent e56944f commit 27e6b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/api/token_oidc.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func (p *IdTokenGrantParams) getProvider(ctx context.Context, config *conf.Globa
}

if !allowed {
return nil, nil, "", nil, badRequestError(fmt.Sprintf("Custom OIDC provider %q not allowed", p.Issuer))
return nil, nil, "", nil, badRequestError(fmt.Sprintf("Custom OIDC provider %q not allowed", p.Provider))
}
}

Expand Down

0 comments on commit 27e6b1f

Please sign in to comment.