<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Leon Fazliu</title>
    <description>The latest articles on DEV Community by Leon Fazliu (@leonfazliusentry).</description>
    <link>https://dev.to/leonfazliusentry</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3316174%2F36b9ae88-2e2b-4b65-a979-76ada9de8436.png</url>
      <title>DEV Community: Leon Fazliu</title>
      <link>https://dev.to/leonfazliusentry</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/leonfazliusentry"/>
    <language>en</language>
    <item>
      <title>Misusing OAuth 2.0 Client Credentials in Public Apps — A Security Breakdown</title>
      <dc:creator>Leon Fazliu</dc:creator>
      <pubDate>Wed, 02 Jul 2025 10:17:48 +0000</pubDate>
      <link>https://dev.to/leonfazliusentry/misusing-oauth-20-client-credentials-in-public-apps-a-security-breakdown-1hj2</link>
      <guid>https://dev.to/leonfazliusentry/misusing-oauth-20-client-credentials-in-public-apps-a-security-breakdown-1hj2</guid>
      <description>&lt;p&gt;Public-facing apps like React, Flutter, or plain JavaScript often make a critical OAuth mistake: they use the &lt;strong&gt;Client Credentials Grant&lt;/strong&gt; to access protected APIs directly from the frontend.&lt;/p&gt;

&lt;p&gt;This breaks core OAuth security assumptions.&lt;/p&gt;

&lt;p&gt;In this post, I explain:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What the Client Credentials Grant was designed for&lt;/li&gt;
&lt;li&gt;Why it’s dangerous to use in public apps&lt;/li&gt;
&lt;li&gt;Real-world risks like token leakage and backend impersonation&lt;/li&gt;
&lt;li&gt;What to use instead (like PKCE or backend proxies)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The problem is more common than it should be — and it often goes unnoticed until something breaks.&lt;/p&gt;

&lt;p&gt;You can read the full breakdown here:&lt;br&gt;&lt;br&gt;
&lt;strong&gt;&lt;a href="https://blog.sentry.security/oauth-2-0-client-credentials-misuse-in-public-apps/" rel="noopener noreferrer"&gt;https://blog.sentry.security/oauth-2-0-client-credentials-misuse-in-public-apps/&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you've encountered this or seen similar misuses, feel free to share or discuss below.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>security</category>
      <category>oauth</category>
      <category>pentest</category>
    </item>
  </channel>
</rss>
