Skip to content

Commit 2444c9a

Browse files
StekPerepolnenblinkov
authored andcommitted
oidc-proxy token request param fix (#15115)
1 parent 283523c commit 2444c9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/mvp/oidc_proxy/oidc_session_create_nebius.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ void THandlerSessionCreateNebius::RequestSessionToken(const TString& code) {
1919

2020
TCgiParameters params;
2121
params.emplace("code", code);
22-
params.emplace("client_id", code);
22+
params.emplace("client_id", Settings.ClientId);
2323
params.emplace("client_assertion_type", "urn:ietf:params:oauth:client-assertion-type:access_token_bearer");
2424
params.emplace("grant_type", "authorization_code");
2525
params.emplace("redirect_uri", TStringBuilder() << (Request->Endpoint->Secure ? "https://" : "http://")

0 commit comments

Comments
 (0)