简体   繁体   中英

PHP - How to authenticate with active directory when server is in cloud

I have a laravel 5.1 app and I have implemented active directory authentication. This works on localhost when I connect the network cable of the company to my computer. However, the production server is on Microsoft Azure and not on the company server. How can I make the authentication work in such a case?

To authenticate with on-premises Active Directory in your Azure app , you could :

1.Authenticate through Azure Active Directory

An Azure Active Directory tenant can be directory-synced with an on-premises AD. This approach enables AD users to access your App from the internet and authenticate using their on-premises credentials. Azure Active Directory tenant can be synced with your on-premise Active Directory to create a single sign-on experience for workers that are on-premises and remote.

2.Authenticate through an on-premises STS

If you have an on-premises secure token service (STS) like Active Directory Federation Services (AD FS), you can use that to federate authentication for your Azure app/

Please click here for more details .

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