I am beginner in Strapi and I don't know how to handle jwt and user object returned by oauth on my frontend

This thread talks about it in detail.

I recommend you read the article above but short answer is :point_down:
JWTs are stored in localStorage, but according to this article (Randall Degges - Please Stop Using Local Storage ), this is subject to XSS attacks so instead they should be stored in cookies.

instead they should be stored in cookies.

1 Like