Title: Automatic Login
Last modified: August 30, 2016

---

# Automatic Login

 *  Resolved [ebradbury](https://wordpress.org/support/users/ebradbury/)
 * (@ebradbury)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/automatic-login-3/)
 * Is there any way to automatically login returning users who have already gone
   through the auth process?
 * Example:
    1) User visits site for the first time, clicks “Login with Google” 
   and goes through the auth process. 2) User returns a month later and is automatically
   logged into WP because they are logged into their google account.
 * [https://wordpress.org/plugins/google-apps-login/](https://wordpress.org/plugins/google-apps-login/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [danlester](https://wordpress.org/support/users/danlester/)
 * (@danlester)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/automatic-login-3/#post-6685880)
 * Thank you for your question.
 * It is possible to automatically redirect users straight into the Google auth 
   flow when they land on the wp-login.php page. If they have already authenticated,
   and are logged in to exactly one Google account in the browser, they will go 
   straight through the auth process and into the site.
 * To try this out (plus some other tricks around this process) take a look at the
   Advanced Options docs:
 * [https://wp-glogin.com/docs/google-apps-login/configuration/advanced-options/](https://wp-glogin.com/docs/google-apps-login/configuration/advanced-options/)
 * If you are building an intranet for example, these options could allow you to
   do what you describe – your intranet plugin will redirect to wp-login.php if 
   the user (logged out of WordPress) tries to access a page, the plugin can redirect
   straight to Google, and then Google redirects straight back and the user should
   land on their intended page, logged in.
 * It really depends on how your site is set up in other ways.
 * If you would like to discuss in more detail, let me know more about your site
   in an email: [contact@wp-glogin.com](https://wordpress.org/support/topic/automatic-login-3/contact@wp-glogin.com?output_format=md)
 * Regards,
 * Dan
 *  [nicgirault](https://wordpress.org/support/users/nicgirault/)
 * (@nicgirault)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/automatic-login-3/#post-6686051)
 * I’ve an issue similar to [@ebradbury](https://wordpress.org/support/users/ebradbury/):
   I would like the “remember me” feature to work. [@danlester](https://wordpress.org/support/users/danlester/)
   the solution you propose require you go on the wp_login page. This in not a good
   solution for me because logged users have access to “private” posts but if they
   are not logged when they arrive on the blog, they do not notice there are new
   posts and they won’t notice they are not connected.
 * Do you have a solution?
    I noticed the wordpress_logged_in_… cookie is not present
   when I’m not yet connected.
 * Thank you for your help!
 *  [danlester](https://wordpress.org/support/users/danlester/)
 * (@danlester)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/automatic-login-3/#post-6686052)
 * nicgirault, thank you for your comments.
 * ‘Remember me’ is something that I would like to build into the plugin. (Hopefully
   the free version, although if it ends up being complicated and may result in 
   a lot of support, it may need to be in the paid versions.)
 * Most likely, a global setting will be the easiest option – so all ‘Login with
   Google’ attempts will be in ‘remember me’ mode, or none of them are.
 * I’ll see what I can do for a future version. Thank you for adding your voice 
   to this suggestion!
 * Regards,
 * Dan

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Automatic Login’ is closed to new replies.

 * ![](https://ps.w.org/google-apps-login/assets/icon-256x256.png?rev=2834114)
 * [Login for Google Apps](https://wordpress.org/plugins/google-apps-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-apps-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-apps-login/)
 * [Active Topics](https://wordpress.org/support/plugin/google-apps-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-apps-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-apps-login/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [danlester](https://wordpress.org/support/users/danlester/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/automatic-login-3/#post-6686052)
 * Status: resolved