So we're working to implement SSO. We are using an Active Directory Federation Server to 'tell' our website that a user is logged in via his Windows machine.
So the flow is like this
1. http://ourwebsite.com --> redirects to:
2. http://adfsURL.local --> will know that I am logged in to my Windows machine and passes me the token for:
3. http://ourwebsite.com --> I'm logged in now
What I fail to understand is how step 2 knows that I am logged in. It is just a URL that I go to, so a webserver catches this and then what? Does it check the IP address of the request and then check if there's a user logged in from that IP? Or do I misunderstand something else completely?