Click to See Complete Forum and Search --> : Passing text authentication to 3rd party site
edouble
04-11-2006, 02:45 PM
What is the best way to create a link from a user's site that passes basic text authentication to logon to a third party site - preferably without having the userID and password being visable from the user's site using the View Source command ? TIA ...
TiGGi
04-11-2006, 03:34 PM
use form to pass data from site to site. If posible you would have SSL on both sites!
edouble
04-11-2006, 04:35 PM
Hi, thanks for the reply. Will this form approach work if they just want a URL (or specifically several URL's) on a page that will seamlessly authenticate the enduser to a third party site(s) ? Somebody else had mentioned something about an Authentication:Basic tag and encoding(Base64) the username:password - but I don't have the exact syntax or an example of this approach.
TiGGi
04-11-2006, 05:09 PM
I am sure you've seen the login forms, they have usename, passowrd and submit button. When they submit form it goes to another page where authentication is processed. So insted of this form going to page on your site you send it to a page on 3rd party site
edouble
04-11-2006, 05:16 PM
that is just it though - they just want a link to click on that seamlessly takes them to the third party site (and that passes the authentication info) instead of a form with a submit button.
ray326
04-11-2006, 11:41 PM
You can't do it directly from a page. The request has to include the HTTP authentication header. Hey, try it with a meta http-equiv tag.
TiGGi
04-12-2006, 09:57 AM
your form doesn't have to look like a form at all. Since the user is already logged in you can put their credentials into the hidden filds and use the link as subbmit button!