Breaking & Securing OAuth 2.0 in Frontends • Philippe De Ryck • YOW! 2025 @GOTO-
Breaking & Securing OAuth 2.0 in Frontends • Philippe De Ryck • YOW! 2025  @GOTO-
Uploaded March 2026 | Updated November 2026, 2 days ago
This presentation was recorded at YOW! Australia 2025. #GOTOcon #YOW
yowcon.com

Philippe De Ryck - Web Security Expert, Founder of Pragmatic Web Security @philippederyck2572

RESOURCES
https://bsky.app/profile/philippederyck.bsky.social
github.com/philippederyck
linkedin.com/in/philippederyck
pragmaticwebsecurity.com
https://pdr.online

Links
datatracker.ietf.org/doc/html/draft-ietf-oauth-browser-based-apps.html
github.com/danielmurrmann/Fancy.ResourceLinker
curity.io/resources/learn/token-handler-overview
docs.duendesoftware.com/bff

ABSTRACT
Everyone agrees that Cross-Site Scripting (XSS) is a real threat to browser-based applications, yet many underestimate its true power. Common practices like using Single Page Applications as OAuth 2.0 clients, with techniques such as refresh token rotation, fail to account for real-world attackers.

This talk will demonstrate two concrete hacks against frontend OAuth 2.0 clients, highlighting the underlying vulnerabilities. We will explore how to address these security shortcomings by introducing structural solutions like the Backend-for-Frontend pattern. By the end of this session, you will be fully up to speed with the latest updates to the "OAuth 2.0 for Browser-based Apps" specification, co-authored by the presenter. You will walk away with a solid understanding of OAuth 2.0 security in frontends and best practices for securing sensitive applications. [...]

TIMECODES
00:00 Intro
03:45 Concept of OAuth 2.0 authorization code flow
08:57 XSS has been a problem for a long time
16:20 Refresh token rotation
17:07 Demo
21:30 Sidestepping refresh token rotation
22:10 We have to do a better job to store our tokens, to prevent exfiltration
23:50 Demo
26:04 Requesting a fresh set of tokens
32:24 What changes to my application does that require?
36:50 What about XSS?
40:01 Key takeaways
40:32 Outro

Download slides and read the full abstract here:
yowcon.com/brisbane-2025/sessions/3652

RECOMMENDED BOOKS
Aaron Parecki • OAuth 2.0 Simplified • amzn.to/2A3IMOf
Aaron Parecki • OAuth 2.0 Servers • amzn.to/3ecHEsz
Aaron Parecki • The Little Book of OAuth 2.0 RFCs • amzn.to/3i7qnlC
Erdal Ozkaya • Cybersecurity: The Beginner's Guide • amzn.to/2T6OIj3
Richer & Sanso • OAuth 2 in Action • amzn.to/3hXiAH6
Wilson & Hingnikar • Demystifying OAuth 2.0, OpenID Connect, and SAML 2.0 • amzn.to/2U8iLY2

https://bsky.app/profile/gotocon.com
twitter.com/GOTOcon
linkedin.com/company/goto-
instagram.com/goto_con
facebook.com/GOTOConferences
#Security #OWASP #Cybersecurity #BFF #BackendForFrontend #XSS #CrossSiteScripting #OAuth2 #OpenID #OpenIDConnect #React #PhilippeDeRyck #YOWcon

CHANNEL MEMBERSHIP BONUS
Join this channel to get early access to videos & other perks:
youtube.com/channel/UCs_tLP3AiwYKwdUHpltJPuA/join

Looking for a unique learning experience?
Attend the next GOTO conference near you! Get your ticket at https://gotopia.tech
Sign up for updates and specials at https://gotopia.tech/newsletter

SUBSCRIBE TO OUR CHANNEL - new videos posted almost daily.
youtube.com/user/GotoConferences/?sub_confirmation=1
Breaking & Securing OAuth 2.0 in Frontends • Philippe De Ryck • YOW! 2025State of Serverless DevEx & Observability • Jones Zachariah Noel N • GOTO 2025Beyond the Hype: What AI Actually Can (and Cant) Do • Jodie Burchell & Michelle Frost • GOTO 2026How Fast Can You Parse 1 Billion Rows in Java? – Insane Speed Test • Roy van Rijn • GOTO 2025State of the Art of Container Security • Adrian Mouat & Charles HumbleKent Beck: 90% of My Skills Went to $0 Overnight (and Im More Valuable Than Ever)Plus cest la même chose • Dave Thomas • GOTO copenhagen 2026A Fun & Absurd Introduction to Vector Databases • Alexander Chatzizacharias • GOTO 2025Connection is Everything: Extended Q&A • Ken Hughes • GOTO 2025The AI Engineers Guide to Surviving the EU AI Act • Larysa Visengeriyeva & Barbara LamplApplication-Driven Infrastructure Deployment • Kief Morris • GOTO 2025Netflix’s Secret to Safe Automation at Scale • Aubrey Chipman & Roberto Perez Alcolea • GOTO 2025
GOTO Conferences |

Breaking & Securing OAuth 2.0 in Frontends • Philippe De Ryck • YOW! 2025

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER