Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
musshush opened this issue Jul 1, 2016 · 11 comments
Closed

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

musshush opened this issue Jul 1, 2016 · 11 comments
Assignees
Labels
bug This points to a verified bug in the code
Milestone

Comments

@musshush
Copy link

musshush commented Jul 1, 2016

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

@gnandretta
Copy link
Contributor

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

@leilafi
Copy link

leilafi commented Jul 1, 2016

@germanmatosas yes we are.

@gnandretta
Copy link
Contributor

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

@wallslide
Copy link

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

@gnandretta
Copy link
Contributor

@wallslide do you see any errors in the console?

@wallslide
Copy link

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

@gnandretta
Copy link
Contributor

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

@gnandretta gnandretta reopened this Aug 10, 2016
@wallslide
Copy link

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

@Maxhodges
Copy link

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

@hzalaz
Copy link
Member

hzalaz commented Aug 29, 2016

@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});

@hzalaz hzalaz added v10 bug This points to a verified bug in the code labels Aug 29, 2016
@hzalaz hzalaz changed the title [v10] After submitting email address on forgot password view Lock + Meteor breaks when trying to require & use blueimp-md5 Aug 29, 2016
@wallslide
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This points to a verified bug in the code
Projects
None yet
Development

No branches or pull requests

7 participants