I’m using auth0 JS version 9.14 in a customized universal login page.
My login page includes both sign up and sign in functionality for social and username/password logins. I use the
auth0.WebAuth() library and
webAuth.authorize() for google or facebook.
On the sign up form I have a checkbox to enforce the user checks the terms & conditions. I don’t want to have this same checkbox on the signin form, however, a user can simply bypass it on the signup and got straight to sign in.
My question is how to determine if a user has signed in already from a social account? I can see from auth0-js - npm that there is a
checkSession() method. This seems possible but I wanted to check if there’s a better way?