Want to learn more about OAuth 2.0 and OpenID Connect?
Save yourself days of digging through dozens of specs with this online course
More informationArticles tagged with "Refresh tokens"
A Critical Analysis of Refresh Token Rotation in Single-page Applications
In this article, we investigate the security properties of refresh tokens in the browser. We investigate why frontend web applications need refresh token rotation and what we gain by using refresh token rotation. Next, we dive into concrete attack scenarios that bypass refresh token rotation and discuss how sensitive SPAs should use a backend-for-frontend to secure tokens.
9 April 2021 OAuth 2.0 & OpenID Connect OAuth 2.0, XSS, Single Page Applications, Refresh tokens
An in-depth look at refresh tokens in the browser
Single Page Applications can use refresh tokens in the browser. Yes, you read that right. This new development is awesome, because it makes access token renewal much more elegant. However, refresh tokens in the browser require additional security measures, such as refresh token rotation. We discuss the pros and cons of refresh token rotation, along with the potential dangers. In the end, you will find five strategies you can use to secure your tokens in your web frontends better.
30 April 2020 OAuth 2.0 & OpenID Connect OAuth 2.0, Refresh tokens, XSS
All article tags
API (3) , JWT (3) , Crypto (2) , OAuth 2.0 (8) , LocalStorage (1) , XSS (12) , Refresh tokens (2) , PKCE (1) , Single Page Applications (7) , React (3) , Recording (1) , Training (1) , OIDC (4) , Online Courses (3) , Flow Simulator (2) , Authentication (1) , Browser Security (5) , X-Frame-Options (XFO) (1) , Content Security Policy (CSP) (5) , Angular (2) , Scully (1) , Trusted Types (1)
Want to learn more about OAuth 2.0 and OpenID Connect?
Save yourself days of digging through dozens of specs with this online course
More informationDr. Philippe De Ryck
Hi, I'm Philippe, and I help developers protect companies through better web security. As the founder of Pragmatic Web Security, I travel the world to teach practitioners the ins and outs of building secure software.
Talks and workshops
You will often find me speaking and teaching at public and private events around the world. My talks always encourage developers to step up and get security right.
Security resources
Getting security right is all about knowledge. I strongly believe in sharing that knowledge to move forward as a community. Among my resources, you can find developer cheat sheets, recorded talks, and extensive slide decks.
Mailing list
Subscribe to the Pragmatic Web Security mailing list to stay up to date on the latest activities and resources.