Skip to content

Auth0LockPasswordless showing username & password #1256

@de-code

Description

@de-code

Excited that #1070 had been merged... I am now trying to migrate from auth0-lock-passwordless to this module, using React.

My code:

import WebAuth from 'auth0-js';
import Auth0LockPasswordless from 'auth0-lock';

lock = new Auth0LockPasswordless(
  CLIENT_ID, DOMAIN, {
    passwordlessMethod: "link",
    allowShowPassword: false,
    allowSignUp: false
  }
);
# lock.on...

# deferred / when button is clicked:

lock.show();

(previously I would have called lock.magiclink())

This is still showing a form with the username/password instead of just an email.

On the connections tab, the client has Passwordless (email) enabled and Username-Password-Authentication database disabled.

BTW The migration guide mentions auth0-lock/passwordless which perhaps should be auth0-lock?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions