theirpuppet has asked for the wisdom of the Perl Monks concerning the following question:
So i've got my first script, it lives in one domain, everyone comes there and fills in their user/pass. It then validates this info and then redirects the user to a script living in the domain of choice (this is defined per user along with their user/pass). The second script will then will either set a cookie or be the PerlAuthenHandler to actually grant the access token. Cookies and Basic HTTP Auth aren't cross-realm, so a trick like this is necessary. Besides, it's what I think Hotmail/Passport is doing.
So, because sensitive info will be passed around (i'll be passing encrypted data and stuff for validation) between the first and second script, i'd rather it not be a GET request. How can I send a redirect to the browser and have it submit my info as a POST request to the second script?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: POST redirect for auth
by valdez (Monsignor) on Jan 22, 2003 at 14:37 UTC |