shortaug Posted April 23, 2008 Share Posted April 23, 2008 A small backdrop: I am working with an authentication system. A user uses this system to maintain a single username/password for multiple sites. Third party sites then use this authentication system to validate users. My trouble: The login and validation process operates through browser refreshes. The last stage of the authentication is the return of two lines of text. A 'yes' and a 'username'. The first refresh takes a user away from thirdparty.com to authenticate.com?authtype=..&refreshURL=thirdparty.com If a valid username/password is entered at this site, then the refreshURL becomes the active site with a ticket appended to the URL. Once thirdparty.com?ticket=... is called again, the validation occurs. This is my trouble: If I use a browser refresh to make this validation, which calls authenticate.com?ticket=..., then all that is returned is two lines of text as noted above. So what I want is to call this validation URL from within a PHP script and store the results so that I can manipulate them and create a user session. I have scoured and scoured, but I cannot come up with this. I know I'm probably just using the wrong search terms though. I'm not the greatest at searching... Any help is appreciated. Danke in advance. Link to comment https://forums.phpfreaks.com/topic/102506-http-connect-to-external-site/ Share on other sites More sharing options...
rhodesa Posted April 23, 2008 Share Posted April 23, 2008 Sounds like http://openid.net/ Link to comment https://forums.phpfreaks.com/topic/102506-http-connect-to-external-site/#findComment-525089 Share on other sites More sharing options...
shortaug Posted April 23, 2008 Author Share Posted April 23, 2008 Good to know there are other implementations of this idea out there, but not quite the help I was looking for... Is there any way of doing this with PHP? Link to comment https://forums.phpfreaks.com/topic/102506-http-connect-to-external-site/#findComment-525410 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.