Menu

You're Probably Doing Backend-for-Frontend (BFF) Wrong
📰

You're Probably Doing Backend-for-Frontend (BFF) Wrong

DEV Community: frontend·Auth0 DevRel·7 days ago
#u73ugxva
#devtofrontend#devto#dev#pattern#secure
Reading 0:00
15s threshold

The Backend for Frontend (BFF) pattern is crucial for securing modern applications, but it's widely misunderstood. In this video, we dive into the common pitfalls developers face when implementing BFFs. We break down why PKCE is not a replacement for a BFF, clarify the difference between a true BFF and a simple reverse proxy, and settle the debate on whether cookies are actually less secure than tokens. If you want to ensure your web apps are truly secure against XSS and token theft, this deep dive is for you.

What You'll Learn

Why PKCE protects authorization codes in transit, but doesn't secure token storage.

The critical distinction between a reverse proxy (token mediation) and a proper BFF.

The modern reality of HttpOnly cookies vs.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.