jraduenz
Member
Posted 2 years ago #
Hello,
I want my users to be able to login automatically by URL-String.
The background: I've got another portal with registered users. I'm not able to connect the user database with wordpress' user database, so I want to generate a link to wordpress in this portal containing the username and a password of the users. I've got the same user data on both sides; the passwords on the wordpress sides are generic. I know this is not secure, but it need not.
So my question is: is it possible to login to wordpress by and url, e.g. http://www.myblog.com/username=johndoe&password=xxxxxx ?
You could, possibly.
By putting - http://www.myblog.com/wordpress/wp-login.php?username=johndoe&password=xxxxxx ?
And then edit the wp-login.php file to retrieve the queries.
jraduenz
Member
Posted 2 years ago #
Thanks for our reply; that's exactly what I want.
But what must be edited to make this working?
I tried the method of ( Jeremy but this doesn't work.
(edit) The next problem is: does this allow auto-submit? When I click the URL, I want to be redirected to the front page directly.
blekfis
Member
Posted 2 years ago #
http://www.lbsharp.com/wordpress/index.php/2007/12/10/wordpress-auto-login/
Not sure it works with latest version
Edit: This wasn't what you were looking for, but maybe it's helpful in some way...
blekfis
Member
Posted 2 years ago #