How do I clear the token if invalid user?

I made a rule where it should only allow users with my company domain to login. It all works fine as long as you try to log in with a correct email. In testing using a incorrect email, it does as expected and kicks me back to the login page.

But, the incorrect user data is stored. So when I click the login button to try and login with the correct account, it automatically has the wrong info stored, tries to login with that, and immediately kicks me back out. So I can’t get in. The login dialog box doesn’t open again for me to enter the correct info. So I’m stuck.

How do I make it forget the email and password that was tried with it was incorrect?

Hi @anorton,

Welcome to the Community!

What framework are you using? What auth0 SDKs?