Ali Soltani
Ali Soltani

Reputation: 9927

Authentication model in dotnetnuke

I want to compare authentication methods in asp.identity and dotnetnuke. I have read very articles about authentication in dotnetnuke.

DNN AUTHENTICATION WITH NEW ASP.NET IDENTITY SYSTEM

DotNetNuke Tips and Tricks #12: Creating your own Authentication Provider

Using DNN authentication and authorization info from another ASP.NET app

How to Setup the Authentication Settings in DotNetNuke

But I din't understand authentication elements and the relationship between them.

It would be very helpful if someone could explain authentication method in dotnetnuke.

Thanks.

Upvotes: 2

Views: 348

Answers (1)

Andy
Andy

Reputation: 102

DotNetNuke uses Asp.Net Membership not Identity. To replace the core authentication provider would be a lot of effort.

There are several ways to create your own authentication provider, but ultimately it will still be using the DotNetNuke Asp.Net Membership process. If you want to use an external service that uses Asp.Net Identity you could have your external Asp.Net Identity service pass a token/cookie to a custom DotNetNuke authentication/redirect module that validates the token/cookie, migrates the user from the Asp.Net Identity database to the DotNetNuke Asp.Net Membership database and finally does the login: DotNetNuke.Entities.Users.UserController.UserLogin.

Upvotes: 1

Related Questions