Title: Auto-Authentication
Last modified: August 30, 2016

---

# Auto-Authentication

 *  Resolved [manakuke](https://wordpress.org/support/users/manakuke/)
 * (@manakuke)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/auto-authentication/)
 * Feature request, perhaps. Is there a way to have the end user automatically log
   into WordPress if said person is already authenticated and the Authorizer “Who
   can log into the site?” is set to “All authenticated users”? For example, if 
   the end user is clicking a private page or post via a CAS authenticated portal,
   it would take the user to the page/post content and bypass the login screen.
 * [https://wordpress.org/plugins/authorizer/](https://wordpress.org/plugins/authorizer/)

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

 *  Thread Starter [manakuke](https://wordpress.org/support/users/manakuke/)
 * (@manakuke)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/auto-authentication/#post-6803105)
 * We implemented a work around by encapsulating our links as so:
 * > [http://www.myschool.edu/news/wp-login.php?redirect_to=http://www.myschool.edu/news/2015/12/01/todays-message/&external=cas](http://www.myschool.edu/news/wp-login.php?redirect_to=http://www.myschool.edu/news/2015/12/01/todays-message/&external=cas)
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/auto-authentication/#post-6803200)
 * I like your workaround!
 * I can work on a CAS-specific feature where, if CAS is the only enabled external
   service (i.e., no Google, no LDAP) and WordPress logins are hidden (in Advanced
   settings), then Authorizer will automatically redirect to the CAS login form 
   instead of showing the WordPress login form with the “Sign in with CAS” button
   as the only option.
 * That way you should be able to point to any link directly, and if the user isn’t
   logged into WordPress they will get redirected to CAS. If they are already authenticated
   with CAS, it will just be a series of redirects that eventually leads them to
   their destination without any intervention on their part.
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/auto-authentication/#post-6803478)
 * New version (2.4.0) is now out with this feature. Please let me know if you discover
   any problems!
    [https://wordpress.org/plugins/authorizer/changelog/](https://wordpress.org/plugins/authorizer/changelog/)
 *  Thread Starter [manakuke](https://wordpress.org/support/users/manakuke/)
 * (@manakuke)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/auto-authentication/#post-6803479)
 * Thanks! Will do.
 *  Thread Starter [manakuke](https://wordpress.org/support/users/manakuke/)
 * (@manakuke)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/auto-authentication/#post-6803480)
 * Thanks! Will do.
 *  Thread Starter [manakuke](https://wordpress.org/support/users/manakuke/)
 * (@manakuke)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/auto-authentication/#post-6803481)
 * I need to run some more tests, but it didn’t work for me. It re-directed to the
   correct login url, but I got a blank screen. I’ll go through and double check
   my settings and check for plugin incompatibility and let you know.
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/auto-authentication/#post-6803485)
 * Hm, I can’t seem to reproduce–I get redirected to the CAS server login URL, but
   I do see the CAS login form.
 * It might have something to do with an existing CAS session–have you tried it 
   in an incognito/private browsing window to see if the same behavior happens when
   you don’t have any cookies from the CAS server set?
 * Let me know if you can trace it down farther.

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

The topic ‘Auto-Authentication’ is closed to new replies.

 * ![](https://ps.w.org/authorizer/assets/icon-256x256.jpg?rev=1967453)
 * [Authorizer](https://wordpress.org/plugins/authorizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/authorizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/authorizer/)
 * [Active Topics](https://wordpress.org/support/plugin/authorizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/authorizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/authorizer/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/auto-authentication/#post-6803485)
 * Status: resolved