We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://simpleidserver.com/docs/tutorial/regularweb
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.
public static void Main(string[] args) { var builder = WebApplication.CreateBuilder(args); // Add services to the container. builder.Services.AddControllers(); // Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle builder.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; }); var app = builder.Build(); // Configure the HTTP request pipeline. if (app.Environment.IsDevelopment()) { //app.UseSwagger(); //app.UseSwaggerUI(); } app.UseCookiePolicy(new CookiePolicyOptions { 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:
when i add callbackpath it working.
.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; options.CallbackPath = "/home"; });
Sorry, something went wrong.
No branches or pull requests
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: