Disabling parts of ASP.NET Core Identity

Re-blogged from Damien’s site.

Software Engineering

This article shows how to disable parts of ASP.NET Core Identity in a Web Application. In the ASP.NET Core Identity, the Identiy UI is deployed as part of the NuGet package. So per default everything is enabled and you have to opt-out, unlike the older versions which was opt-in. If you are not careful, this could cause security holes in your application. It is important that you disable the parts of Identity which you do not use!

To demonstrate this, the register process will be disabled. Sometimes, the users are imported or defined using an existing application/process, and the application should not be allowed to register users, so it needs to be deactivated. Per default, it is added and needs to be removed. The default Register Razor Page can be reached at the following URL:

“App base URL”/Account/Register

To turn this off, you need to scaffolding the Razor Page into…

View original post 96 more words

IdentityServer4 in simple words: IdentityServer4 with .Net Core Part I

You can find all .Net core posts here. Once I explored and wrote about Authentication in .Net Core using Identity here, many people have asked me to explore and write on IdentityServer4. So I am starting a series of posts in which I will mainly concentrate on IdentityServer4 In this first post, we will see some … Continue reading IdentityServer4 in simple words: IdentityServer4 with .Net Core Part I

Advertisement

ASP .Net Core 2.1 features: Part I

You can find my all .Net core posts here. In this post, we will see the features of Asp .Net Core 2.1 SignalR SignalR is coming into the .Net Core. I have already written a post on how to use SignalR in Net Core which is here but as some of the changes are going on … Continue reading ASP .Net Core 2.1 features: Part I

Authentication in .Net Core 2.0 : .Net Core 2.0 Identity step by step

Note – You can find the source code of my sample application here. Whenever you start creating an application, one of the most important modules is the authentication. In this article, I will explain how to add Login functionality to your .Net Core 2.0 application using .Net Core Identity, Let us first see what is ASP … Continue reading Authentication in .Net Core 2.0 : .Net Core 2.0 Identity step by step