[UPHPU] Automate third-party site login?

thebigdog bigdog at venticon.com
Wed Apr 30 10:19:57 MDT 2008


Chris Wood wrote:
> I have an odd situation where I want to link from one site to a third-party
> site and automatically log the user in.  The other site is happy to let me
> do this if I can figure it out.  I tried talking them into providing access
> to the data on their site in other ways, but this is the only way they will
> do it due to getting burned in the past.
> 
> The reason I want to link it this way is that I don't want to have to tell
> users what the username/password is for the site and then have to tell them
> again every time I change the password (which will happen as I gain/lose
> users).
> 
> Is there any way to do this with PHP/javascript, etc?

some options:

1. ajax login - use ajax to send the information from your site to theirs and 
see if you can get the session or cookie created on the browser. this might or 
might not work. I have not tried it.

2. you can create a link or something to trigger the user to go to the 3rd party 
site. have that trigger hit your page that automate the form submit and then 
that would log them in.

3. there is software out there that can allow you to do this but the cost might 
be too much. i know that ibm makes a product that will do this for you.

4. personal digital certificates


--
thebigdog


More information about the UPHPU mailing list