Hi guys, first of all thank you for your great work! I wanted to ask what is the best approach to im...
b
Hi guys, first of all thank you for your great work! I wanted to ask what is the best approach to implement supertokens in Ionic. My current approach is to extract the JWT token in the FE and validate it in the BE. Is this the right way, or is there a better way?
r
Hey @User
If you can use the verifySession function in the backend via our SDK, that’s a better approach than using JWTs.
Try to not enable JWT and that way the sessions is more secure as you prevent attacks like token theft via XSS.
b
ok then I will change that, thank you very much! 🙂