Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Asp.Net Identity Individual User Accounts using LDAP

I am using VS 2013 Asp.net 4.5.1 and created an internal webforms app using the Individual User Accounts option for Authentication. I want to use LDAP to authenticate the users and use the SQL DB that was created for Individual User Accounts option to hold the users info and roles. We don’t have Active Directory Federation Services (AD FS) so I can’t use the On-Premise Authentication method.

The AD username will be stored in the SQL DB

How can I authenticate the users using LDAP and then use the AspNet.Identity.EntityFramework to get to the users info and roles from the SQL DB?

like image 866
m-nuts Avatar asked Mar 14 '14 19:03

m-nuts


1 Answers

You can use this implementation like an example, it is a customer UserStore for RavenDB:

Customizing ASPNET Authentication for RavenDB

There's this series of videos explaining how to work with security in .NET (the second video explains how to do it).

Customizing ASPNET Authentication with Identity

like image 152
Mauricio Avatar answered Sep 22 '22 04:09

Mauricio