Skip to content
This repository has been archived by the owner on Dec 14, 2017. It is now read-only.

404 response while Login.. #55

Open
RichardSilveira opened this issue Sep 19, 2016 · 1 comment
Open

404 response while Login.. #55

RichardSilveira opened this issue Sep 19, 2016 · 1 comment

Comments

@RichardSilveira
Copy link

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 }
                });

            });
@mistakenot
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants