Logout via onExecutePostLogin action

Hey @torefindsen sorry for the delayed response here - You won’t be able to log a user out from within a post login action as the user hasn’t successfully logged in until the action is complete.

This is the standard way to approach requiring users to verify their email prior to logging in:

Users won’t be able to fully log in to your app until they’ve successfully verified their email.

Hope this helps!