Lock: Lock + Meteor breaks when trying to require & use blueimp-md5

Created on 1 Jul 2016  路  11Comments  路  Source: auth0/lock

After submitting email address on forgot password view, it goes back to the login screen with the form appended underneath of login form.
Shouldn't it show a message instead, saying something like... an email has been sent to reset your password?

screen shot 2016-07-01 at 10 38 59

bug v10

All 11 comments

@musshush Hi! are you using webpack to bundle you app?

@germanmatosas yes we are.

Should be fixed on 10.0.0-rc.2. Please reopen if the problem persist.

I'm still seeing this same behavior on 10.0.2. We are using meteor 1.4 w/ import statements.

@wallslide do you see any errors in the console?

I do get an error in the console. It doesn't seem related but...
image

Here I enter in the email address:
image

And the following state of the UI:
image

Yes, that error is the cause for the issue. Can you provide a sample so I can debug it?

@gnandretta I've created a repository to highlight the problem https://github.com/wallslide/auth0-reset-password-problem

bump. 20 days and counting. How are we supposed to deploy this to production? Shouldn't you guys be making bugs a priority?

@wallslide thanks for the sample, there is an issue with the lib used to calculate the md5 of the email that is sent to gravatar. (Not sure why it breaks the flow).

A quick fix, until we sort that out, is to disable the avatar feature by initialising Lock like this

  Lock = new Auth0Lock(
    AUTH0_CLIENT_ID,
    AUTH0_DOMAIN, {avatar: null});

Thanks. Setting avatar to null let us get past that problem for now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fernandomunizz89 picture fernandomunizz89  路  3Comments

sandrinodimattia picture sandrinodimattia  路  6Comments

sedubois picture sedubois  路  7Comments

dgreuel picture dgreuel  路  5Comments

adamtay picture adamtay  路  8Comments