<?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: Chintan Golakiya</title>
    <description>The latest articles on DEV Community by Chintan Golakiya (@chintan-golakiya).</description>
    <link>https://dev.to/chintan-golakiya</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%2F1099220%2F08cbf646-0ff5-4377-8028-ce6804b73f26.jpeg</url>
      <title>DEV Community: Chintan Golakiya</title>
      <link>https://dev.to/chintan-golakiya</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/chintan-golakiya"/>
    <language>en</language>
    <item>
      <title>Spring Boot JWT authentication</title>
      <dc:creator>Chintan Golakiya</dc:creator>
      <pubDate>Sat, 17 Jun 2023 06:15:31 +0000</pubDate>
      <link>https://dev.to/chintan-golakiya/spring-boot-jwt-authentication-3mic</link>
      <guid>https://dev.to/chintan-golakiya/spring-boot-jwt-authentication-3mic</guid>
      <description>&lt;p&gt;I implemented user authentication for 3 different user type with different user details in java spring boot with MySQL database.&lt;/p&gt;

&lt;p&gt;Requirements&lt;br&gt;
User details&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;admin&lt;/strong&gt; (id, username, password)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;teacher&lt;/strong&gt; (id, email, password, name, status, createdBy(foreinkey admin(id))&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;student&lt;/strong&gt; (id, email, password, name, status) &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;API details &lt;br&gt;
&lt;strong&gt;Admin&lt;/strong&gt; -&lt;br&gt;
      register - register admin with (username, password) (public api)&lt;br&gt;
      login - login admin with (username, password) (public api)&lt;br&gt;
&lt;strong&gt;Teacher&lt;/strong&gt; -&lt;br&gt;
      register - add teacher with (email, name, password) &lt;br&gt;
                (only admin user can register teacher)&lt;br&gt;
      login - login teacher with (email, password) (public api)&lt;br&gt;
&lt;strong&gt;Student&lt;/strong&gt; -&lt;br&gt;
      register - register student with (email, name, password) (public api)&lt;br&gt;
      login - login student with (email, password) (public api)&lt;/p&gt;

&lt;p&gt;Further APIs can be configured for authorized for particular type of user.&lt;/p&gt;

&lt;p&gt;I have written article high level explanation and code snippets.&lt;br&gt;
check out here &lt;a href="https://medium.com/@golakiyachintan24/spring-boot-jwt-authentication-with-spring-security-3-0-e9fc83d2c9cc"&gt;spring boot jwt authentication with spring security&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Github Repository&lt;/strong&gt; - &lt;a href="https://github.com/chintan-golakiya/exam-portal-springboot-app/tree/jwt-authentication"&gt;https://github.com/chintan-golakiya/exam-portal-springboot-app/tree/jwt-authentication&lt;/a&gt;&lt;/p&gt;

</description>
      <category>springboot</category>
      <category>springsecurity</category>
      <category>jwtauthentication</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
