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.

Intermediate

29 Lessons

8h

Certificate of Completion

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.

AI-POWERED

Explanations

AI-POWERED

Explanations

This course includes

27 Playgrounds
7 Quizzes

This course includes

27 Playgrounds
7 Quizzes

Course Overview

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 ho...Show More

TAKEAWAY SKILLS

User Authentication In Django

Rest Api

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

What You'll Learn

Hands-on experience of creating custom users in Python using Django RESTful

Show more

Course Content

1.

About This Course

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

Registering Custom User Using Simple JWT

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

Logging in User Using Simple JWT

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

Resetting User Password

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

Organizing Users

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 Lesson

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

Appendix

1 Lesson

Get started with setting up Django, installing packages, configuring JWT, and running your project.

Course Author

Trusted by 1.4 million developers working at companies

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Evan Dunbar

ML Engineer

Carlos Matias La Borde

Software Developer

Souvik Kundu

Front-end Developer

Vinay Krishnaiah

Software Developer

Eric Downs

Musician/Entrepeneur

Kenan Eyvazov

DevOps Engineer

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Hands-on Learning Powered by AI

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

Instant 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.

AI-Powered Mock Interviews

Adaptive Learning

Explain with AI

AI Code Mentor