IdentityManager / IdentityManager.AspNetIdentity

ASP.NET Identity support for Thinktecture IdentityManager
Apache License 2.0
60 stars 51 forks source link

Not Showing menu item #5

Closed pramodgehlot closed 10 years ago

pramodgehlot commented 10 years ago

When using SecurityMode.LocalMachine and the following OAuth2Configuration I am not able to add user and not show all mwnu item

IDM conf:

        var factory = new Thinktecture.IdentityManager.Host.AspNetIdentityIdentityManagerFactory("AspId");

        idm.UseIdentityManager(new IdentityManagerConfiguration
        {
            //IdentityManagerFactory = () => svc,
            IdentityManagerFactory = factory.Create,
            SecurityMode = SecurityMode.OAuth2,
            OAuth2Configuration = new OAuth2Configuration
            {
                AuthorizationUrl = "http://localhost:17457/ids/connect/authorize",
                Issuer = "https://idsrv3.com",
                Audience = "https://idsrv3.com/resources",
                ClientId = "idmgr",
                SigningCert = Cert.Load(),
                Scope = "idmgr",
                //PersistToken = true,
                //AutomaticallyRenewToken = true
            },
        });

IDS conf:

    var factory = InMemoryFactory.Create(users:GetUsers(), scopes:GetScopes(), clients:GetClients());
    var idsrvOptions = new IdentityServerOptions
    {
        IssuerUri = "https://idsrv3.com",
        SiteName = "Thinktecture IdentityServer v3",
        SigningCertificate = Cert.Load(),
        CspOptions = new CspOptions{
            ReportEndpoint = EndpointSettings.Enabled, 
        },
        PublicHostName = "http://localhost:17457",
        RequireSsl = false,
        Factory = factory,
        CorsPolicy = CorsPolicy.AllowAll,
    };
    app.UseIdentityServer(idsrvOptions);
brockallen commented 10 years ago

This id a dup of https://github.com/thinktecture/Thinktecture.IdentityManager/issues/70