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

EXCEPTION: Invalid event "signin submit"...... #1041

Closed
vivo95 opened this issue Jun 22, 2017 · 2 comments
Closed

EXCEPTION: Invalid event "signin submit"...... #1041

vivo95 opened this issue Jun 22, 2017 · 2 comments

Comments

@vivo95
Copy link

vivo95 commented Jun 22, 2017

Hi,

I use Auth0 Lock in my web site Angular 2.
I have created a lock with signup and signin.
I would like to know what action the use did. If he use signup or signin.
If it does signin, it means that it does not have an account in my database and on Auth0 and my following code is specific to this case.

I use in my code :

this.lock.on('signin submit', () => {
  console.log("signin")
});

but I have an exception in my console (title).

How do I know what action has been taken by the user?

Thanks

@luisrudge
Copy link
Contributor

That event was added recently (#1036) and will be available in the next release.

@vivo95
Copy link
Author

vivo95 commented Aug 13, 2017

Hi,

I update a version of my package of Auth0-lock to 10.20.0 but I have a same exception.

In your document of the API, the events "signin submit" and "singnup submit" are available in version 10.18.0 +.

thanks for your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants