Viewing 3 replies - 1 through 3 (of 3 total)
  • I think it depends how TML is configured, but since TML adjusts the way the login process works in WordPress, plugins like Google Apps Login that are expecting WordPress standards may not work.

    Having said that, here are the steps another customer had to follow to get TML to work with GAL. The problem of course is that (I believe) TML doesn’t really use the standard WordPress login functionality and creates its own /login page.

    1. Specified both Redirect URI’s in Google Console Project:

    https://www.website.com/wp-login.php
    https://www.website.com/login

    2. And added below in functions.php in the Child theme:

    function my_gal_login_url($login_url) {
    return ‘https://website.com/wp-login.php’;
    }
    add_filter(‘gal_login_url’, ‘my_gal_login_url’, 10, 1);

    3. Added this link as “Login with Google” on the TML login page (below theme_my_login shortcode )

    https://website.com/wp-login.php?gaautologin=true

    4. Hide the below in Child theme CSS:

    /* To remove “Google Apps Login generated button and verbiage” on the “Log In” page */
    p.galogin, h3.galogin-or {
    display:none;
    }

    I hope this helps – please get in touch on email to discuss in more detail: [email protected].

    Of course if you aren’t in a position to get your hands dirty with the detailed configuration required, the short answer is that I don’t think TML works alongside Google Apps Login straight out of the box!

    Step 3 above suggests adding your own Login with Google link to the TML login page, so I guess that means it isn’t able to import Google Apps Login’s own version of that button.

    Thanks,

    Dan

    Thread Starter keytastic

    (@keytastic)

    Ohhh that seems reasonably straightforward. I won’t be able to test this until the Fall when my class starts, but I’ll keep this in mind for then!

    Thank you very much!

    You may also need to turn off ‘Custom Redirection’ (and maybe other settings) in TML.

    A complete summary of the latest TML recommendations is now available on our site:

    https://wp-glogin.com/docs/google-apps-login/troubleshooting/theme-my-login/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘ThemeMyLogin compatibility?’ is closed to new replies.