Before: Single Page Apps wouldn't get a refresh token, because a compromised RT was too dangerous. To reauthenticate, an iframe was used instead, relying on third-party cookies.

However, recent browser #privacy improvements have impacted #SPA's when it comes to #OAuth.
After: #SinglePageApps can now get a single-use refresh token with a shorter expiry, and use that to reauthenticate a user or obtain a new access token.

No more third-party cookies. No more iframes.
You can follow @bendechrai.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled: