OAuth 2.0 authorization code flow with PKCE and BFF

This post explains how to implement the OAuth 2.0 authorization code flow with PKCE in a browser-based app, and how to implement it in a BFF (Backend For Frontend) architecture for better security.