简体   繁体   中英

Active Directory(On Premises AD not Azure AD) authentcation with Xamarin Forms

i am working on PCL xamarin forms application which has Login form, in order to gain access into this app user credentials needs to get match with local active directory user. i have researched a lot but did not found any solution out there.

I also have one web api which user may have access to if his/her credential gets match with AD. which provides data to app after gaining access to this app.

Is it possible to add code to authenticate user with AD using ASP.net web API? if yes How ?

Can someone provide a sample of flow or code so i may have idea how flow works in this case?

Thank you so much in advance.

Yes. It is possible to do authentication from the code level between Xamarin and On-prime AD. But in order to do that you may need to configure your AD to accept the authentication from code level.

This is a link , I have written on how the Open ID protocol used to solve this problem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM