JSON Web Token and Simple JWT in Django REST Framework (Hindi)

Поділитися
Вставка
  • Опубліковано 7 лис 2024

КОМЕНТАРІ • 73

  • @commentreader4422
    @commentreader4422 4 роки тому +6

    Thankyou so much sir for clearing concept on JWT,
    Although I'm not working on django, but I can use this concept in Node JS...😎

  • @bhushanpathrikar6045
    @bhushanpathrikar6045 4 роки тому +7

    Sir plz make a project of e-commerce api or any api of DRF so that our idea will get cleared that how can we use all ur taught concept in real time project

  • @vaibhavagrawal431
    @vaibhavagrawal431 3 роки тому

    Thanks for all the videos
    you are best guy on youtube

  • @somyanamdeo5292
    @somyanamdeo5292 10 місяців тому

    Easiest explanation.....

  • @aniketundalekar9809
    @aniketundalekar9809 3 роки тому +4

    Please make Shoppingly e-commerce API using rest API's so that whole Rest API's concept will get clear for us including Authentication

  • @dtube6330
    @dtube6330 2 роки тому

    Authenticate Django Apps with Another Django App Hosted Separately
    kese kar sakte sir esa plz create project if possible

  • @kanhaiyagoyal9847
    @kanhaiyagoyal9847 4 роки тому +2

    Sir please django oauth 2.0 toolkit k uper bhi video bnaye
    Sir this is helpful for us with the help of your videos and I am also fan of your efforts

  • @thinkdo9470
    @thinkdo9470 2 роки тому

    you are great sir

  • @pranavingale6850
    @pranavingale6850 6 місяців тому

    Terminal mai thike but website Mai kaise karenge jwt aur authenticate user Directly? I mean user thodi ye sab steps karega on terminal?

    • @geekyshows
      @geekyshows  6 місяців тому

      Once you learn basics follow this playlist ua-cam.com/play/PLbGui_ZYuhihw6B6FgGeOd1bAluciXJ99.html

  • @AH-tx4ce
    @AH-tx4ce 7 місяців тому

    Bhai jwt function based views ke liye batao please kaise karte hay

  • @codingki7826
    @codingki7826 Рік тому

    Nice sir jee

  • @seeratkhan436
    @seeratkhan436 3 роки тому

    q k parhnay ki zarorat ni qk ap daikh rahay ho meri video. love that confidence bro

  • @sidharthasp8041
    @sidharthasp8041 2 роки тому

    Great video..please created a oauth video as well

  • @vikaschouhan4179
    @vikaschouhan4179 4 роки тому +1

    *Must reply ; graphql* pdege kya hum isme ?

  • @itsprabinkumarbaniya
    @itsprabinkumarbaniya 3 роки тому

    Great tutorial on jwt 👍👍👍👍

  • @shamshadansari2018
    @shamshadansari2018 2 роки тому

    Love you Boss❤️

  • @aniketchoudhary6987
    @aniketchoudhary6987 3 роки тому +2

    If you had shown how token will be generated and verified while logging in, it would have helped

  • @ParthivShah
    @ParthivShah 3 роки тому

    thanks bhai

  • @hardcode1136
    @hardcode1136 4 роки тому

    धन्यवाद सर

  • @jawadhshah2033
    @jawadhshah2033 2 роки тому

    Sir jb gettoken/ url ko hit krta hon tou muja response ma html code dehkta ha rather than Access token.
    Kindly guide me.

  • @AmitKumar-kk3ee
    @AmitKumar-kk3ee 3 роки тому

    sir ek choti si problem resolve krne me help krdo mujhe redirect krna h dynamic url me, like upload a image (upload.html) and result show on next page using dynamic url that image only (result.html) in django

  • @akshayjambekar445
    @akshayjambekar445 3 роки тому +2

    How can we store this token for session?

  • @dhruvilshah9098
    @dhruvilshah9098 4 роки тому

    Sir learning a lot from you keep it up

  • @raviranjankumar9185
    @raviranjankumar9185 Рік тому

    How can deal when the access token and refresh token both get expire?

    • @geekyshows
      @geekyshows  Рік тому

      for that you have to create interceptor in your frontend

  • @dev_opsenginner4383
    @dev_opsenginner4383 Рік тому

    Make a video on django 0Auth

  • @sivanshlmao
    @sivanshlmao Рік тому

    Why cannot I login using that website? While using session authentication, there is no error while logging in but if i use JWTAuthentication, i cannot login to the site, it says
    HTTP 401 Unauthorized
    Allow: GET, POST, HEAD, OPTIONS
    Content-Type: application/json
    Vary: Accept
    WWW-Authenticate: Bearer realm="api"
    {
    "detail": "Authentication credentials were not provided."
    }

  • @omkarsutar578
    @omkarsutar578 Рік тому

    Which python package needs to install to use http in terminal?

    • @geekyshows
      @geekyshows  Рік тому +1

      If you are asking about 'import requests' then run pip install requests This allows you to send HTTP requests using Python.

    • @omkarsutar578
      @omkarsutar578 Рік тому

      @@geekyshows When doing http request in terminal then getting error as "The term http is not recognised as the name of a cmdlet, function, script file, or operable program."
      And in CMD it is giving error as "http is not recognized as an internal or external command, operable program or batch file."
      What to be done help please.

    • @geekyshows
      @geekyshows  Рік тому +2

      @@omkarsutar578 Open Python Terminal then import requests then make http request e.g. requests.get ()

    • @omkarsutar578
      @omkarsutar578 Рік тому

      @@geekyshows Thank you.

  • @aakashbhaikatti2823
    @aakashbhaikatti2823 3 роки тому

    Hii. great video. Can you please tell how can i get other fields with simple-jwt token (eg. username, first_name, last_name)

  • @aryanchauhan-jp9ui
    @aryanchauhan-jp9ui 4 роки тому

    sir please upload more videos i completed all

  • @codingki7826
    @codingki7826 Рік тому

    Create video on Oauth sir jee

  • @SachinSachin-oo9eb
    @SachinSachin-oo9eb Рік тому

    hey everyone why we need to pass this token with inserting deleting and updating time . we will be need only at the time of logging or acces the data but why we need inserting time?
    please help anybody?

  • @vishaldubey7908
    @vishaldubey7908 3 роки тому

    how to authenticate with postman..please sir postman ka use kaise kre...or sir isme login kaise krenge..login credential solve kaise hoga..

  • @pavanthorat8324
    @pavanthorat8324 4 роки тому

    Nice info 🔥🔥🙏🙏

  • @vishwajeet21sharma
    @vishwajeet21sharma 3 роки тому

    can you please share requirements.txt used in this video

    • @geekyshows
      @geekyshows  3 роки тому +2

      All PPT and Source Code available on official website www.geekyshows.com

    • @vishwajeet21sharma
      @vishwajeet21sharma 3 роки тому

      @@geekyshows can you please share the link of the post I'm unable to find it

  • @vishaldudhabarve5903
    @vishaldudhabarve5903 2 місяці тому

    dont use this command line way to verify or refresh token, you can browse these urls directly in browser and you will be redirected to drf's default page

  • @manojrawat5756
    @manojrawat5756 Рік тому

    ❤❤❤❤

  • @RahulChauhanart
    @RahulChauhanart 3 роки тому

    Bhai Djoser pe video bana do 🙏🏽

  • @tp6375
    @tp6375 2 роки тому

    please help me with this error : "from jwt import InvalidAlgorithmError, InvalidTokenError, algorithms
    ImportError: cannot import name 'InvalidAlgorithmError' from 'jwt' "

  • @O.nitin353
    @O.nitin353 3 роки тому

    Error at 30:40 command: AttributeError: type object 'BlacklistedToken' has no attribute 'objects' got this error while verifying the token, ye error hat hi nahi rha hai. Bohot try kiya google bhi kar liya but kuch nahi mila. Need a little help.

  • @mrsumankumar2110
    @mrsumankumar2110 4 роки тому

    Natwarking ke bara me bataya please complete course natwarking

  • @sailendrachettri8521
    @sailendrachettri8521 3 роки тому

    Interesting :)

  • @raulgoswami7988
    @raulgoswami7988 4 роки тому

    Sir, please make a video of auth 2.0 in drf

  • @semprajapat451
    @semprajapat451 4 роки тому

    Bro please tell us about custom User model Or User related stuff in django.
    Please bro

  • @subirkumarbehera1748
    @subirkumarbehera1748 Місяць тому

    Lekin ye sab aap terminal me kyun kar rhe hai jaise normal chrome me karte the wese kyun nhi matlv baki crud operation aur baki sab jese chrome me kiye the

    • @geekyshows
      @geekyshows  Місяць тому

      You may need frontend or other tool to perform few operation I do not want to make it complicated including any frontend lib e.g. reactjs or any tool e.g. postman so using simple terminal. Just keep following the playlist u will understand it each and everything clearly.

  • @ashutoshsharma6621
    @ashutoshsharma6621 2 роки тому

    Tumhare vedio ka sound bahut kaam hota hai. usse bhi dhyan de

  • @fahadkacchi4458
    @fahadkacchi4458 3 роки тому

    Sir how can we pass data through html in api

  • @Pradeep_prasad
    @Pradeep_prasad 2 роки тому

    Http is not recognised as an external command

  • @sambhavjain7470
    @sambhavjain7470 2 роки тому

    I am getting server error(500) in response please anyone help
    Server Error (500)
    Server Error (500)

  • @PriyaSharma-vf9kb
    @PriyaSharma-vf9kb 3 роки тому

    when generating gettoken I got an error ====
    http: error: ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=8000): M
    ax retries exceeded with url: /gettoken/ (Caused by NewConnectionError(': Failed to establish a
    new connection: [WinError 10061] No connection could be made because the target
    machine actively refused it')) while doing a POST request to URL: 127.0.0
    .1:8000/gettoken/

    • @anujpatel6983
      @anujpatel6983 2 роки тому

      you have to run server while generating token, than you will get token.

  • @sumitrathor9929
    @sumitrathor9929 Рік тому

    where is the code?

    • @geekyshows
      @geekyshows  Рік тому +1

      download source code + study material from geekyshows.com

    • @sumitrathor9929
      @sumitrathor9929 Рік тому

      @@geekyshows thanks sir , I have one simple question, I saw your video on project of jwt authentication, in which you generated the token manually , but you didn't added the function to handle refresh token, and verify. in this video you just showed that we can add three api for generating, refreshing and verifying but in the project video you didn't do so , I am very much confused now, please guide me

    • @geekyshows
      @geekyshows  Рік тому

      @sumitrathor9929 I cant actually recall that video as i have created it long ago but To handle expired token, verify and refresh token you need to create interceptor on the frontend side which will intercept the request to verify whether token is expired or not If token is expired then it will refresh the token and update the access token then request-response cycle will complete. I would request you to watch my recent session authentication video to have clear concept about it where i used interceptor on the frontend But as its session authentication so there is no token involved but the logic will remain same for the interceptor.

  • @puspitasahoo3420
    @puspitasahoo3420 2 роки тому

    30:00

  • @jay-rathod-01
    @jay-rathod-01 3 роки тому

    9:10

  • @syedhaiderali1519
    @syedhaiderali1519 Рік тому

    worst tutorial, atleast he should have used postman to show requests

    • @geekyshows
      @geekyshows  Рік тому +2

      Not everyone knows Postman I try to stick to core as much as possible so i used http to make request. Whether you use postman or swagger or axios or fetch, at the end you make http request. so always Learn core Never depend on a Tool to learn another tool. Suppose tomorrow Postman get removed or dead then this tutorial will become completely useless. You can follow this ua-cam.com/video/lo7lBD9ynVc/v-deo.html