You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var tokenResponse = await _httpClient.RequestAuthorizationCodeTokenAsync(tokenRequest);
`
The request will not be sent, prompt client_secret must be provided in the Authorization header
The text was updated successfully, but these errors were encountered:
`
var tokenRequest = new AuthorizationCodeTokenRequest
{
Address = tokenEndpoint,
ClientId = clientId,
Code = code,
RedirectUri = redirectUri,
CodeVerifier = codeVerifier, // PKCE 模式
GrantType = "authorization_code",
};
var _httpClient = new HttpClient();
var tokenResponse = await _httpClient.RequestAuthorizationCodeTokenAsync(tokenRequest);
`
The request will not be sent, prompt client_secret must be provided in the Authorization header
The text was updated successfully, but these errors were encountered: