Security implications of access and refresh tokens (JWT) with refresh token rotation and automatic reuse detection

In an effort to avoid having to deal with CSRF attacks, I’m trying to implement an auth flow that completely avoids using cookies. In most cases this makes one vulnerable to XSS attacks. However, according to this auth0 blog post, it can b… Continue reading Security implications of access and refresh tokens (JWT) with refresh token rotation and automatic reuse detection

Mitigating CSRF and XSS with JWT authentication: can someone tell me where my logic is wrong

I’m currently working on a personal project including a RESTful API and also trying to understand how to make it as secure as possible. I have read a bit about JWT, the possible vulnerabilities as well as some suggestions on how to mitiga… Continue reading Mitigating CSRF and XSS with JWT authentication: can someone tell me where my logic is wrong