Want to learn more about OAuth 2.0 and OpenID Connect?
Save yourself days of digging through dozens of specs with this online courseMore information
OAuth 2.0 and OpenID Connect for Single Page Applications
This page contains the resources for the talk titled 'OAuth 2.0 and OpenID Connect for Single Page Applications'.
Ever since the introduction of OAuth 2.0, the framework has been in continuous evolution. The initial specification addressed a strong need for delegation. However, since then, various addendums focus on the needs of modern applications. Today, many of the original OAuth 2.0 flows are deprecated, and the best practices for Single Page Applications are in constant evolution.
In this talk, we will investigate these recent changes. We look at the use of the "Proof of Key for Code Exchange" (PKCE) flow in the browser. We also investigate how Single Page Applications handle tokens, and why localStorage is not as evil as you may think. We look at refresh tokens in the browser, and what you need to do to make them work. You will walk away with a solid overview of recent evolutions in OAuth 2.0, and where to use them in your applications.
Dr. 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
Security is often about small nuances. In my articles, I dive deeper into various security topics, providing concrete guidelines and advice. My articles also answer questions I often get while speaking or teaching.
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.
Subscribe to the Pragmatic Web Security mailing list to stay up to date on the latest activities and resources.