I’ve got 3 discussion topics but didn’t want to flood the forum so have combined them into one:
Syncing up emails when social sign in is used
If members that are using social integration sign up (Facebook) change their email address on the provider side (e.g. I change my Facebook email from firstname.lastname@example.org to email@example.com) does that get replicated into WP DB? If not would is be suitable to hook into auth0_user_login and check emails match on sign in and if not matching update the user record in WP?
Is it possible to hook into the username generation?
A number of our users have expressed a need for anonymity, we want to provide that so would like to generate random usernames. Is this possible?
Password/Email Update syncing
We use a theme that allows our users to update their email address and password. I have a couple of questions around this:
a) Assuming this person signed up with email and password. Are there already hooks to update email/password in Auth0 when they are updated in WP or is that something we need to do? If so what’s the recommended pattern?
b) If the person has a social integration sign up I assume we cannot have them changing their password or email address as that is defined by the social provider? If so I assume we use the identities -> isSocial flag to determine whether we should display those email/password change fields or not?