I am working on a project for a client which needs an automatic login from a link click.
I\'m using a handshake page to do this with the following code:
Check the HTML source. It sounds like WP's links may be relative. Instead of making this process even more complicated than it already is, however, I suggest you perform the login, hand the user whatever cookies are required, and redirect them.
Otherwise you're coding a proxy, piece by piece.