Redirect does not work consistently


I find that setting redirect: true not always works as expected:

const lock = new Auth0Lock(
		// [...]
		auth: {
			redirect: true,
			redirectUrl: `${window.location.origin}/authenticated`,
			// [...]

		// [...]

lock.on('authenticated', (authResult) => {
	// gets executed, when clicking the button to login using the previously 
	// used account. — not when clicking `not your account?`, and logging in 
	// anew (in which case I get redirected to `redirectUrl`).

what’s going wrong here?

Hey @haha-no !

Can you let me know how it behaves when it’s not working as expected? Does it redirect you somewhere else than specified in the redirectUrl? What version of the library are you using?