HomeCoursesCustom User Authentication with Simple JWT in Django RESTful
4.5

Intermediate

8h

Custom User Authentication with Simple JWT in Django RESTful

Gain insights into creating custom users, using Simple JWT for authentication, sending verification emails, managing tokens, resetting passwords, and testing endpoints in Django RESTful projects.
Join 2.7 million developers at
Overview
Content
Reviews
Related
In this course, you will learn to use a package called Simple JWT to help implement JWT authentication in your Django RESTful projects. In the beginning, you will learn how to create custom users in Django using Django RESTful. Next, you will learn to register users using JWT and send them account verification emails. After that, you will learn how to make custom token claims when logging in users, and also how to refresh the tokens after expiry. You will then learn how to reset passwords and understand how password reset emails work. You will learn to organize your users in Django RESTful, log them out, and also black-list their JWT tokens. You will finish by learning how to manage and test your endpoints by documenting and testing them. After the completion of this course, you will be able to create custom users in Django RESTful framework, authenticate them using Simple JWT, programmatically send account verification and password reset emails.
In this course, you will learn to use a package called Simple JWT to help implement JWT authentication in your Django RESTful pr...Show More

WHAT YOU'LL LEARN

Hands-on experience of creating custom users in Python using Django RESTful
The ability to authenticate users using Simple JWT
Working knowledge of sending account verification and password reset emails
Understanding of authentication through access and refresh tokens
The ability to test API endpoints
Hands-on experience of creating custom users in Python using Django RESTful

Show more

TAKEAWAY SKILLS

User authentication in Django

REST API

Content

1.

About This Course

3 Lessons

Get familiar with custom user authentication in Django using Simple JWT.

2.

Registering Custom User Using Simple JWT

6 Lessons

Unpack the core of creating custom user registration, activation email, and endpoints using Simple JWT in Django.

3.

Logging in User Using Simple JWT

4 Lessons

Go hands-on with user login, authentication, and token handling using Simple JWT.

4.

Resetting User Password

5 Lessons

Apply your skills to resetting user passwords with serializers, secure emails, validation views, and endpoints.

5.

Organizing Users

2 Lessons

Establish endpoints to list and retrieve user details with serializers and views.

6.

User Logout

2 Lessons

Implement secure user logout by managing and blocklisting JWT refresh tokens.

7.

Managing and Testing the Endpoints

5 Lessons

Build on referencing endpoints, implementing CORS, and testing APIs using Postman.

8.

Conclusion

1 Lessons

Learn how to use Django REST with Simple JWT for custom user authentication.

9.

Appendix

1 Lessons

Get started with setting up Django, installing packages, configuring JWT, and running your project.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.

Course Author:

Developed by MAANG Engineers
Every Educative resource is designed by our team of ex-MAANG software engineers and PhD computer science educators — subject matter experts who’ve shipped production code at scale and taught the theory behind it. The goal is to get you hands-on with the skills you need to stay ahead in today's constantly evolving tech landscape. No videos, no fluff — just interactive, project-based learning with personalized feedback that adapts to your goals and experience.

Trusted by 2.7 million developers working at companies

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

AI Prompt

Build prompt engineering skills. Practice implementing AI-informed solutions.

Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

Explain with AI

Select any text within any Educative course, and get an instant explanation — without ever leaving your browser.

AI Code Mentor

AI Code Mentor helps you quickly identify errors in your code, learn from your mistakes, and nudge you in the right direction — just like a 1:1 tutor!

Free Resources

FOR TEAMS

Interested in this course for your business or team?

Unlock this course (and 1,000+ more) for your entire org with DevPath