Skip to content

Commit 81c75ee

Browse files
committed
Fix none auth method
1 parent 37a3c7f commit 81c75ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/oauth2/request.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ func (r *Request) AuthenticateClient(
112112
var err error
113113

114114
switch cconfig.AuthMethod {
115+
case NoneAuthMethod:
116+
r.Form.Set("client_id", cconfig.ClientID)
115117
case ClientSecretPostAuthMethod:
116118
r.Form.Set("client_id", cconfig.ClientID)
117119
r.Form.Set("client_secret", cconfig.ClientSecret)

0 commit comments

Comments
 (0)