For an application using google as provider
I used a rule to perform some checks on email so I can fail access to my app for some emails.
return callback(new UnauthorizedError(‘Your email is not authorized’));
When a user is attempting to use a valid google email but considered as not valid in my rule, it cannot access to my app which is what I want.
But then until auth0 session expires, he is always considered as authenticated with the invalid email, so it cannot use another email until the auth0 session expires.
I would prefer if possible to be able to logout the user from the rule, so he would be able to change email. Is it possible ?
I found no samples neither informations related to the ability to logout a user or terminate auth0 session from a rule.
Thanks for your help