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
I authorized according to the document, but this error occurred.
https://localhost:7233/claims
{
"error": "invalid_request",
"error_description": "redirect_uri https://localhost:7233/signin-oidc is not correct",
"state": "CfDJ8PZ8k5OQmJdKogCa1orNaUtleQKpAfsPpAHFSe6QQH6gfvnxfv1JTQSFGzEomnNVweodILbnGW7C3BeSgm3iO0pBc3VeSStctxA26ivMUAl25IQV1-pK-fuh4TT896Bsoe-tFOuhDFa2Q8IqOmubOAt31NILji8rocXDFM7sonBvteN0eWswfiNr7KTBYfekztQnHTBtEL4Ysj4P3iIaPNVlwDmfXd_3oRLQ9GQvt355UcDtS852jQUeQCZx0z8THlKVofAqphrVfCRccF5PeoPQ4GnrSXThFj1QcQy88-s7g_J5Ic432FeOU4fWepYs1Y6TkuxqpeEygF5gWDpFCXykSk-6JJtJQKkPQIbANdkT8kvunwKUvj5sxeNtd1KCRw"
}
my application configuration.
publicstaticvoidMain(string[]args){varbuilder=WebApplication.CreateBuilder(args);// Add services to the container.builder.Services.AddControllers();// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbucklebuilder.Services.AddEndpointsApiExplorer();// builder.Services.AddSwaggerGen();builder.Services.AddAuthentication(options =>{options.DefaultScheme="Cookies";options.DefaultChallengeScheme="sid";}).AddCookie("Cookies").AddOpenIdConnect("sid", options =>{options.SignInScheme="Cookies";options.ResponseType="code";options.Authority="https://localhost:5001/master";options.RequireHttpsMetadata=false;options.ClientId="protectedServersideApp";options.ClientSecret="password";options.GetClaimsFromUserInfoEndpoint=true;options.SaveTokens=true;});varapp=builder.Build();// Configure the HTTP request pipeline.if(app.Environment.IsDevelopment()){//app.UseSwagger();//app.UseSwaggerUI();}app.UseCookiePolicy(newCookiePolicyOptions{Secure=CookieSecurePolicy.Always});app.UseHttpsRedirection();app.UseStaticFiles();app.UseRouting();app.UseAuthentication();app.UseAuthorization();app.MapControllerRoute(name:"default",pattern:"{controller=Home}/{action=Index}/{id?}");app.Run();}
client details.
The text was updated successfully, but these errors were encountered:
https://simpleidserver.com/docs/tutorial/regularweb
I authorized according to the document, but this error occurred.
my application configuration.
client details.
The text was updated successfully, but these errors were encountered: