Tobias Ahnoff

Tobias Ahnoff is an experienced developer and architect with focus on application security. He specializes in implementing authentication flows and authorization for web applications and APIs that manage sensitive data.

Tobias performs security reviews and penetration tests as part of Omegapoint Cybersecurity Gothenburg, a group of experts in application security. He also gives courses in application security and is an appreciated speaker in OAuth2 and OpenID Connect areas.

The speaker's profile picture

Sessions

05-26
11:20
40min
How to f*ck up at OAuth2 while following BCPs
Tobias Ahnoff, Pontus Hanssen

Best current practices (BCPs) for implementing OAuth2 and OIDC have undergone many changes over the years.

In this presentation we highlight the risks of staying with the ancient (roughly 2019-2021) “current” best practices.

The current (circa 2022) BCPs bring many changes, such as deprecation of the implicit flow, required usage of PKCE and the BFF pattern which mitigates some of the previous attack vectors.

It takes time for new concepts to fully mature and secure defaults emerge. While following the latest BCPs it’s still possible to make mistakes and end up with a broken implementation.

This presentation will show some common OAuth2/OIDC security pitfalls and why it is bad practice to use reverse proxy catch-all routing in your BFF, an OAuth2 client with access to many scopes, together with APIs that do authorization based on just a valid token and scopes.

Does your BFF enable authenticated SSRF as a Service?

During the presentation we will demonstrate both attacks and defences for a OAuth2/OIDC application running locally.

Main stage