<?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: Smit Roy</title>
    <description>The latest articles on DEV Community by Smit Roy (@smitroy).</description>
    <link>https://dev.to/smitroy</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%2F3972076%2F174bdcd1-9b34-48d7-b050-f0fd07765973.jpg</url>
      <title>DEV Community: Smit Roy</title>
      <link>https://dev.to/smitroy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/smitroy"/>
    <language>en</language>
    <item>
      <title>Add JWT Authentication to Spring Boot in Under 2 Minutes</title>
      <dc:creator>Smit Roy</dc:creator>
      <pubDate>Sun, 07 Jun 2026 05:32:34 +0000</pubDate>
      <link>https://dev.to/smitroy/add-jwt-authentication-to-spring-boot-in-under-2-minutes-2gd5</link>
      <guid>https://dev.to/smitroy/add-jwt-authentication-to-spring-boot-in-under-2-minutes-2gd5</guid>
      <description>&lt;p&gt;Built a JWT Authentication Starter for Spring Boot 🚀&lt;/p&gt;

&lt;p&gt;After setting up JWT authentication, filters, token validation, and Spring Security integration across multiple projects, I got tired of writing the same boilerplate over and over.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;jwt-spring-boot-starter&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;What it provides:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;JWT token generation&lt;/li&gt;
&lt;li&gt;JWT validation&lt;/li&gt;
&lt;li&gt;Spring Security integration&lt;/li&gt;
&lt;li&gt;Automatic authentication filter&lt;/li&gt;
&lt;li&gt;Protected route handling&lt;/li&gt;
&lt;li&gt;Auto-configuration&lt;/li&gt;
&lt;li&gt;Java 21 support&lt;/li&gt;
&lt;li&gt;Spring Boot 4 support&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal was simple:&lt;/p&gt;

&lt;p&gt;Add a dependency, configure JWT properties, and have authentication working immediately.&lt;/p&gt;

&lt;p&gt;Current roadmap:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Role-based authorization&lt;/li&gt;
&lt;li&gt;Redis token blacklist&lt;/li&gt;
&lt;li&gt;Refresh token workflow&lt;/li&gt;
&lt;li&gt;RSA key support&lt;/li&gt;
&lt;li&gt;OAuth2 support&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I'm looking for feedback from Java and Spring developers.&lt;/p&gt;

&lt;p&gt;What features would you expect from a production-ready JWT starter?&lt;/p&gt;

&lt;p&gt;GitHub:&lt;br&gt;
&lt;a href="https://github.com/smitroy4/jwt-spring-boot-starter" rel="noopener noreferrer"&gt;https://github.com/smitroy4/jwt-spring-boot-starter&lt;/a&gt;&lt;/p&gt;

</description>
      <category>java</category>
      <category>springboot</category>
      <category>jwt</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
