Giter VIP home page Giter VIP logo

Comments (2)

evansims avatar evansims commented on June 12, 2024

Hi @blakmarkit πŸ‘‹

First, when I register a new account (Universal Login Classic), the WP username is being set to the auth0 ID string, and not the auth0 username (set in the Universal Login register field). Is there a plugin preference that would correct this?

I'm afraid this isn't an option; doing so introduces conflicts in Auth0 configurations where multiple Connections might be used or when a user has multiple social accounts associated with one identity. Usernames can potentially be reused in those scenarios. This turned out to be a very common point of confusion for v4 users, so it was removed with the latest release.

Second, v4 would send the user to a wp_die page that prompts the user to to verify their email before signing inβ€”v5 appears to redirect them to the site, logged in, without verifying, but their email address doesn't appear in the user data until they verify (via the verification email) and sign in again. Is this expected behavior or a configuration issue?

This is intentional; the plugin doesn't allow unverified emails to be tied to the WP account as a security measure.

If you need to, you could fully override and control this behavior using Actions. There are lots of templates in there for these sorts of things. I see one that blocks user logins until their email is verified, for example.

Using the Passwordless (email) connection type is also a great option, as it requires a verified email by necessity.

Third, is there a way to set/map the Name (Nickname) in WP? Also the WP First and Last Name fields?

Nothing is built in to support this presently, but this could be achieved with a custom code/plugin of your own β€” just tie into the standard edit_user_created_user (user created), profile_update, and deleted_user WordPress hooks.

Any changes made to the WordPress user will get sync'd back to Auth0's user management in the next plugin background sync.

from wordpress.

blakmarkit avatar blakmarkit commented on June 12, 2024

Hi @evansims thanks for the explanations!

Usernames can potentially be reused in those scenarios. This turned out to be a very common point of confusion for v4 users, so it was removed with the latest release.

Good to know. I wasn't sure if I was misconfiguring something, between the WP account creation settings and the Auth0 plugin's account creation settings.

If you need to, you could fully override and control this behavior using Actions. There are lots of templates in there for these sorts of things. I see one that blocks user logins until their email is verified, for example.

Thanks for that pointer. I've set up that first action. Would it also be in Actions to redirect a user to a "please verify your email" page after registration?

Is there documentation anywhere about what each of the plugin's new settings does, especially the options in the Advanced section? I'm having cookie/session issues where I keep getting logged out what seems like every few minutes (or even seconds).

from wordpress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.