Remove manual PKCE params from loginRequest — MSAL handles PKCE internally

Passing code_challenge_method without code_challenge causes AADSTS90014.
MSAL generates and sends PKCE parameters automatically.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Vadym Samoilenko 2026-03-20 14:05:08 +00:00
parent 7a7d3a90ac
commit c00116eea4

View file

@ -29,9 +29,6 @@ export const msalConfig: Configuration = {
export const loginRequest = {
scopes: ['openid', 'profile', 'email'],
prompt: 'select_account' as const,
extraQueryParameters: {
code_challenge_method: 'S256'
}
};
// Token request configuration for additional API calls