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

Unable to access signup panel #1134

Closed
nathanBrenner opened this issue Oct 6, 2017 · 1 comment
Closed

Unable to access signup panel #1134

nathanBrenner opened this issue Oct 6, 2017 · 1 comment

Comments

@nathanBrenner
Copy link

snippet from the typescript class for the Angular service:

export class Auth {
	lock: Auth0LockStatic = new Auth0Lock(myConfig.clientID, myConfig.domain, {});

	constructor() {
		this.lock.on('authenticated', (authResult) => this.handleAuthResult(authResult))
	}
	showLogin(): void {
		this.lock.show();
	}
}

As you can imagine, I've got routed component that calls the lock to show in the ngOnInit lifecycle hook.

Lock version: auth0-lock@10.21.1

screen shot 2017-10-06 at 12 00 25 pm

When I click on the sign up text, the lock should show the sign up fields. This is the behavior I get on Firefox@55.0.3 (64-bit), Safari@11.0. But on Chrome@61.0.3163.100, the lock closes, and I get these errors printed in the chrome devtools console:

screen shot 2017-10-06 at 11 59 36 am

OS is MacOS 10.16.6

@luisrudge
Copy link
Contributor

This is because you're using react@16. Dupe of #1096

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