Support » Plugin: Authorizer » Auto-Authentication

  • Resolved manakuke

    (@manakuke)


    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/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Paul Ryan

    (@figureone)

    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

    (@figureone)

    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/

    Thanks! Will do.

    Thanks! Will do.

    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

    (@figureone)

    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.