How can I revoke session, if any, in the backendConfig in passwordResetPost? The reason why I want this is because I implemented auto login but their could be issues with it when a session already exists.
I tried looking into the input.options.req but none of the tools it has seems useful.
r
rp_st
04/11/2024, 4:22 AM
Hey. You can call getSession in the override, and when that returns a session, you can call session.revokeSession on it
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).