Hi I have an api that takes sessionHandle as an api and revoke that session
But the frontend is still able to surpass the auth guard and access our apis
How to handle that ?
I am using nest js
Have you followed our nestjs guide properly? With the error handler and stuff?
k
krrishan
10/19/2023, 6:07 AM
Yes
krrishan
10/19/2023, 7:52 AM
The issue is that I am also using my custom exception filter that handles all other errors
And the auth guard sets some headers if session get expired
I dont want to set any headers
How to modify verifySesion code or how to merge the code to avoid setting headers
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).