简体   繁体   中英

Web API authentication via Active Directory

How does one go about tying in AD authentication to an existing Web API? I've attempted to do this with Azure but Azure doesn't play nice with Web APIs. The constant redirects are a nightmare. Is there some way I can set it up to just hit a local AD sever, authenticate the user, and get back a token? It seems like it should be fairly simple but I'm finding no information on this.

You will always be redirected if you're using Azure AD. You shouldn't be able to do this locally to my knowledge.

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