Search code examples
identityserver4asp.net-core-identity

IdentityServer4 QuickStart Register Issue


I have ASP.NET Core application with IdentityServer4 using ASP.NET Core Identity (based on excellent quickstart). http://docs.identityserver.io/en/release/quickstarts/6_aspnet_identity.html In the walkthrough blog they talk about navigating to localhost:5000/Account/Register to create a new user in the Identity db. When i navigate to that url i get a white page. Furthermore I don't have a Register.cshmtl page or a Register route or anything with the term Register in it.

Did i get the wrong branch? because i am on the release and using core 2.0

I'm new at this and apologize if i'm missing something obvious. I have run the dotnet ef command but can't see a db anywhere I look - like in sql express or LocalDb. I am running the Identity server project out of vs17 on port 5000

If i run the MvcClient project I see the home page with the Secure link. If i click that i am directed to the IS4 instance but alice nor bob login will work. (invalid us/pw). And i can see in the logs that alice and bob users are not being created in-memory


Solution

  • You probably got this by now, but it might interest someone else.

    The Quickstart UI repository is not a direct implementation of the tutorials in the IdentityServer4 docs. If you follow the docs, you will first create a new ASP.NET Core MVC application with Individual User Accounts authentication, and that template will create the registration page.