Forums

How to create url for auto login (2 posts)

  1. chuckingit
    Member
    Posted 2 years ago #

    Hi - i'm looking to create a separate login form that then feeds the wp-login.php with the username and password appended to the url for a seamless post and not sure what i need to do to format the syntax for the url string ... e.g., this does not work ->

    http://www.mydomain.com/blog/wp-login.php?form_id=loginform&id_username=myuser&id_password=mypassword

    where myuser and mypassword correspond to actual registered users in the wordpress database ...

    alternatively, maybe i'm going about this all wrong and instead of trying to post to wp-login.php need to create separate function(s) ..??.. thanks in advance for any pointers ... cordially, chuck scott

    ps - reason i'm trying to do this is that the user already logged into to other application on the site and i'm trying to send the login creditionals to wordpress so user doesn't have to re-log in by repeating their user name and password ...

  2. Mike Challis
    Member
    Posted 2 years ago #

    I do not have the answer you are looking for but I can tell you for sure.
    Using passwords in a URL is a huge security risk. Not acceptable at all.
    Post would be a better method.

    This is because URLs are commonly logged into server logs and stored in web browser history.

Topic Closed

This topic has been closed to new replies.

About this Topic