IdentityServer4 icon indicating copy to clipboard operation
IdentityServer4 copied to clipboard

With latest identity server I get 404 on authorize endpoint

Open ashtonkj opened this issue 9 years ago • 5 comments

  • [x] I read and understood how to enable logging

I am not sure what I am doing wrong (but obviously I am missing something). Everything works (in the Identity Server host and connected API), except for the authorize endpoint. Any assistance would be appreciated.

Issue / Steps to reproduce the problem

Startup.cs contains the following

services.AddIdentityServer(options => { options.Events.RaiseSuccessEvents = true; options.Events.RaiseFailureEvents = true; options.Events.RaiseErrorEvents = true; options.Endpoints.EnableAuthorizeEndpoint = true; }) .AddDefaultEndpoints() .AddRequiredPlatformServices() .AddResourceStore() .AddDeveloperSigningCredential() .AddPersistedGrants() .AddClientStore() .AddAspNetIdentity();

Relevant parts of the log file

[06:55:28 Information] IdentityServer4.Hosting.IdentityServerMiddleware Invoking IdentityServer endpoint: "IdentityServer4.Endpoints.AuthorizeEndpoint" for "/connect/authorize/login"

[06:55:28 Information] Microsoft.AspNetCore.Hosting.Internal.WebHost Request finished in 27.7207ms 404

ashtonkj avatar Sep 12 '17 04:09 ashtonkj

Just to make this 100% clear - this is using IdSrv 4 prerelease for .net core 2.

ashtonkj avatar Sep 12 '17 04:09 ashtonkj

Not enough info.

brockallen avatar Sep 13 '17 21:09 brockallen

Closing this issue. Bug was on my side. Once I had the Id Server code running on my machine where I could step through it, the issue was easy to spot and resolve.

ashtonkj avatar Sep 14 '17 08:09 ashtonkj

hi @ashtonkj , what was the root cause? thanks!

rbeauchamp avatar Oct 26 '17 18:10 rbeauchamp

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jan 14 '20 04:01 lock[bot]