I am using AuthorizationCode + Pkce flow for my application authentication.
I would like to use cloud.squidex.io as my IDP
I could not find option to setup Pkce =true / false in application.
Please help
.AddOpenIdConnect(OpenIdConnectDefaults.AuthenticationScheme, options =>
{
options.SignInScheme = CookieAuthenticationDefaults.AuthenticationScheme;
options.Authority = "https://localhost:44322/";
options.ClientId = "rio.web";
options.ResponseType = "code";
options.UsePkce = true;
//options.CallbackPath = new PathString("...");
options.Scope.Add("openid");
options.Scope.Add("profile");
options.Scope.Add("roles");
options.ClaimActions.MapUniqueJsonKey("role", "role");
options.SaveTokens = true;
options.ClientSecret = "secret";
options.GetClaimsFromUserInfoEndpoint = true;
options.TokenValidationParameters.NameClaimType = "name";
options.TokenValidationParameters.RoleClaimType = "role";
});