IdentityServer3.Admin icon indicating copy to clipboard operation
IdentityServer3.Admin copied to clipboard

404 response while Login..

Open RichardSilveira opened this issue 9 years ago • 1 comments

Hi, When i click on the login button of admin screen, I'm getting 404 Not Found response. I got the IdentityServer3.Admin as NuGet package inside my MVC project and trying to execute it, any idea on what might be the issue ?, by the way if i download the git code and run it as it is , it is working fine..

http://localhost:44340/admin/authorize?state=14399556802037922&client_id=idAdmin&response_type=token

My issue is similar to #49, but with a different response after loggin...

I'm already have a look at IdentityManager and IdentityAdmin source code...

My Startup config is configured as follow:

app.Map("/admin", adminApp =>
            {
                var factory = new IdentityAdminServiceFactory
                {
                    IdentityAdminService = new IdentityAdmin.Configuration.Registration<IIdentityAdminService, InMemoryIdentityManagerService>(),

                };
                var rand = new System.Random();
                var clients = ClientSeeder.Get(rand.Next(1000, 3000));
                var scopes = ScopeSeeder.Get(rand.Next(15));
                factory.Register(new IdentityAdmin.Configuration.Registration<ICollection<InMemoryScope>>(scopes));
                factory.Register(new IdentityAdmin.Configuration.Registration<ICollection<InMemoryClient>>(clients));
                adminApp.UseIdentityAdmin(new IdentityAdminOptions(true)
                {
                    Factory = factory,
                    AdminSecurityConfiguration = new AdminHostSecurityConfiguration() { RequireSsl = false }
                });

            });

RichardSilveira avatar Sep 19 '16 13:09 RichardSilveira

I am having a similar problem. Am trying to get the admin panel to use a different host running an instance of Identity Server and combining it with the Open ID Connect auth found in Microsoft.Owin.Security.OpenIdConncet. The admin panel only wants to redirect to its own host + /authorize which throws a 404.

mistakenot avatar Apr 18 '17 12:04 mistakenot