Social Authentication first (as default register/login)



  • 💡 Would it be reasonable to enable switching between main and alternative authentication methods in admin area?

    • e.g. offering Social Authentication first and E-mail login/registration second as alternative method

    Visitors often stay logged into their Facebook / Google accounts and offering Social Authentication first, may encourage user signup, same applies to users redirected from social networks, they're already logged in, ready to sign up with few clicks.

    • also, any ideas about the pros/cons?

    0_1517369293907_Screenshot 2018-01-30 22.27.17.png


  • Global Moderator

    The SSO plugins display on the login page IIRC, are you asking for an interstitial or a header on the registration page?



  • @pitaj included a quick screenshot: Login with: SSO (or Alternatively login with Username/Email), I mean yes, the plugins display on the login page


  • Global Moderator

    Here's some custom CSS to show the Alternative Logins SSO section above the regular login on mobile:

    @media(max-width: 992px) {
      .page-login #content .row {
        display: flex;
        flex-direction: column-reverse;
      }
    }
    


  • @pitaj short and clean solution, thank you! How about rewriting the title? Here is the custom CSS but I guess this will not get translated to Chinese for e.g.:

    @media(max-width: 992px) {
      .page-login #content .row {
        display: flex;
        flex-direction: column-reverse;
      }
      .alt-login-block h4 {
          visibility: hidden;
      }
      .alt-login-block h4:after {
            position: absolute;
            padding: 0px;
            top: 0px;
            display: block;
            visibility: visible;
            content:'Social Login';
      }
    }
    

 

| |