MENU

Fun & Interesting

Django REST Framework - JWT Authentication with djangorestframework-simplejwt

BugBytes 17,535 6 months ago
Video Not Working? Fix It Now

โ˜•๏ธ ๐—•๐˜‚๐˜† ๐—บ๐—ฒ ๐—ฎ ๐—ฐ๐—ผ๐—ณ๐—ณ๐—ฒ๐—ฒ: To support the channel and encourage new videos, please consider buying me a coffee here: https://ko-fi.com/bugbytes โญTop resource to learn Python - https://datacamp.pxf.io/kOjKkV โญ In this video, we'll look at JWT authentication with Django REST Framework. Starter Code: https://github.com/bugbytes-io/drf-course-api ๐Ÿ“Œ ๐—–๐—ต๐—ฎ๐—ฝ๐˜๐—ฒ๐—ฟ๐˜€: 00:00 Intro 01:43 Setting authentication scheme 04:57 JSON Web Token authentication with djangorestframework-simplejwt 08:56 Sending POST request to get Access and Refresh tokens 12:16 Adding access token to request Authorization header 19:10 Updating project tests ๐—ฆ๐—ผ๐—ฐ๐—ถ๐—ฎ๐—น ๐— ๐—ฒ๐—ฑ๐—ถ๐—ฎ: ๐Ÿ“– Blog: https://bugbytes.io/posts/ ๐Ÿ‘พ Github: https://github.com/bugbytes-io/drf-course-api ๐Ÿฆ Twitter: https://twitter.com/bugbytesio ๐Ÿ“š ๐—™๐˜‚๐—ฟ๐˜๐—ต๐—ฒ๐—ฟ ๐—ฟ๐—ฒ๐—ฎ๐—ฑ๐—ถ๐—ป๐—ด ๐—ฎ๐—ป๐—ฑ ๐—ถ๐—ป๐—ณ๐—ผ๐—ฟ๐—บ๐—ฎ๐˜๐—ถ๐—ผ๐—ป: Starter Code: https://github.com/bugbytes-io/drf-course-api DRF Authentication: https://www.django-rest-framework.org/api-guide/authentication/ djangorestframework-simplejwt: https://github.com/jazzband/djangorestframework-simplejwt VSCode REST Client: https://marketplace.visualstudio.com/items?itemName=humao.rest-client #python #django #webdevelopment #djangorestframework

Comment