问题
Seeking for guidance on the subject as I'm really stuck on this, I am trying to connect to a microsoft server over a network to login into my system by providing my microsoft credentials.
Now, what I want is whenever I try to hit my php application url, it will redirect me to microsoft login page and automatically authenticates with the microsoft credentials entered during system login and at the same time redirect back to my php application with the same credentials. I am using simplesaml in this case.
I tried using local AD as an IDP and simplesaml as an SP. When I am hitting my application url, it is redirecting me to my local AD login page but auto-login is not initiating with my microsoft credentials. I have to enter the microsoft credentials again. Please help!!!
回答1:
The usual way to do this is to federate simplesamlphp with ADFS.
You will then get an ADFS login page and if you have "Integrated Windows Auth" enabled you will get SSO so you won't have to login.
来源:https://stackoverflow.com/questions/64137776/connect-to-local-on-premises-active-directory-from-php-web-application