Auto Login using Cookies (2 posts)

  1. mridl200
    Posted 1 year ago #

    Hi Guys,

    I've been trying to find a plugin or a way to allow users to be automatically logged into WordPress through a forms auth cookie. At the moment my site accepts a cookie from another site and uses that cookie to display content but id also like to auto login the user as I stated.

    Is this possible? and if so are there any resources that may assist me with what I am trying to do? I have googled a few methods but was unable to find anything concrete.


  2. bcworkz
    Posted 1 year ago #

    If that cookie contains WP login credentials, you can use wp_signon() to login the user from the page that receives the cookie information.

Topic Closed

This topic has been closed to new replies.

About this Topic