ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

Django REST OAuth. Enable Social Login via Google, Facebook, and Twitter. #22

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ก.ย. 2020
  • Django REST OAuth. Enable Social Login via Google, Facebook, and Twitter. Django Rest Framework Project Tutorial [22]
    Full project source code.
    github.com/Cry...
    Features Breakdown with Video Links:
    1. Project Introduction and Django setup. • Django rest framework ...
    2. Creating a Django Custom user model. • Django Custom User mod...
    3. User Email Registration. • User Email Registratio...
    4. Sending account activation Email. • Sending Email (Account...
    5. User Account Activation. • Activate a user's acco...
    6. API Documentation using Swagger and REDOC. • Swagger documentation ...
    7. User Login/ Get JWT and Refresh Token. • JSON Web Token Authent...
    8. Create, Read, Update, Delete Expenses. • Django rest framework ...
    9. Pagination for REST API. • Django rest framework ...
    10. Create, Read, Update, Delete Income. • Django rest framework ...
    11. API Renderers and Consistent Responses. • Django Rest Framework ...
    12. Rest Framework Simple JWT Exploration. • Django Rest Authentic...
    13. Refresh Token and Access Tokens in. • Django REST Authentica...
    14. Reset a user's password by Email. • Django Rest Authentica...
    15. Unit testing the API. • API Testing Tutorial. ...
    16. CI/CD Continous Integration with CircleCI. • CI/CD | Continuous int...
    17. Configuring CORS Policy. • Cors header 'access-co...
    18. Deploying To Heroku. • DEPLOYING DJANGO APPLI...
    19. Creating Chart Data endpoints. • Creating Chart Data En...
    20. Creating Last year`s Income. statistics endpoints. • Creating Last year's i...
    Github Repository.
    github.com/Cry...
    Support the channel
    Paypal. www.paypal.com...
    Patron. / crycetruly
    Subscribe to the channel 👉👉 www.youtube.co...

ความคิดเห็น • 67

  • @vatsal_gamit
    @vatsal_gamit 3 ปีที่แล้ว +7

    I have seen hundreds of tutorial and read many articles on this topic but this is the bestest explanation so far. Thanks a lot man ❤️

  • @elijahsoladoye6415
    @elijahsoladoye6415 2 ปีที่แล้ว +3

    This is by far the best explanation and you hit the nail right in the head, thanks so much for this man 🔥🔥🔥

  • @malbec21digital
    @malbec21digital 3 ปีที่แล้ว +1

    Best Indian guy I've ever seen!

  • @shubhampatil5312
    @shubhampatil5312 3 ปีที่แล้ว +2

    Thank you so much....Your way of teaching and explaining is best.....

  • @rohitgoud8090
    @rohitgoud8090 3 ปีที่แล้ว +4

    Hi @CryceTruly, I need your help about SOCIAL SECRET from where you get or else you given your own password.....if that is happening every other user also same right...????

  • @AkhilKokani
    @AkhilKokani 2 ปีที่แล้ว

    Saw tons of videos on this topic, by far the most simple and effective solution, godammnit! Hats of to you!

  • @alisondunning2446
    @alisondunning2446 3 ปีที่แล้ว +1

    You're a LIFESAVER. Thank you!!

  • @orkhanrustamli2039
    @orkhanrustamli2039 3 ปีที่แล้ว +3

    Hi, thanks for the video. Is it common to use shared secret as password for all users. Is it mandatory? How is other well known libraries are doing the procedure?

  • @GauravKumar-lb6ze
    @GauravKumar-lb6ze 3 ปีที่แล้ว +1

    Thank You so much,for this beautiful course.

    • @GauravKumar-lb6ze
      @GauravKumar-lb6ze 3 ปีที่แล้ว

      @@360TechExplorer Social Secret is password set by you, for my project i have set it to 'gaurav'. It is not provided by google api.

  • @santimartin2261
    @santimartin2261 3 ปีที่แล้ว

    This video really saved me. You explain very well. Thanks!!

  • @raisaken
    @raisaken 2 ปีที่แล้ว +2

    hello, can your please share the GitHub repo of frontend samples.

  • @user-kj2nw6cj8q
    @user-kj2nw6cj8q 19 วันที่ผ่านมา

    can anyone tell which parts did he mentioned how to get the SOCIAL_SECRET?

  • @mohammedbayomy6154
    @mohammedbayomy6154 3 ปีที่แล้ว +1

    you said that access token_key and access_token_secret For Twitter will be sent from frontend
    but in video there's no mention for it could you pleae illustrate it.

  • @princebillygrahamkarmoker2122
    @princebillygrahamkarmoker2122 3 ปีที่แล้ว

    Am from golang

  • @wandilegumede8076
    @wandilegumede8076 2 ปีที่แล้ว +1

    Does anyone have this problem when you try to decode the uidb64 & it says "expected an int but received '\x00' "

  • @abdulazizusmonov8047
    @abdulazizusmonov8047 24 วันที่ผ่านมา

    Can you write down the packages that are needed for this video, that is, to be installed?

  • @chinhtran5815
    @chinhtran5815 5 หลายเดือนก่อน

    So, the social media will return access token when I send the authorization code to them and then I use it to access my apis, right?

  • @sauravkhakurel2648
    @sauravkhakurel2648 2 ปีที่แล้ว +1

    Can the same process be used to make social login for apple?

  • @ailour
    @ailour 2 ปีที่แล้ว

    Hey, why do we need to send the token back to google to look for user data, and we can get it from the frontend? In my case. I'm using vuejs

  • @adebayokehinde1580
    @adebayokehinde1580 3 ปีที่แล้ว

    Man you covered it all.. Nice!!!

  • @JuanRamirez-vy4fh
    @JuanRamirez-vy4fh 3 ปีที่แล้ว

    bro you are the best!

  • @eliasimokhai
    @eliasimokhai 2 ปีที่แล้ว +1

    You did a great job

  • @jetezra4607
    @jetezra4607 3 ปีที่แล้ว

    Thanks, this saved my time, but how do I pick more information like profile image, full name, gender, date of birth things like those

  • @charlesoraegbu8033
    @charlesoraegbu8033 3 ปีที่แล้ว

    thanks for the tutorial, really helped me. quick one, can a user reset password and be able to login with email and also social auth, if yes, how'd I go about it?

  • @SureshYadav-fi8hm
    @SureshYadav-fi8hm ปีที่แล้ว

    Very very amazing topic which i can't find on internet. Thank you Cryce...... I just have a small query how do we handle users if the social user don't have email instead mobile. Thank you

  • @phonty29
    @phonty29 8 หลายเดือนก่อน

    Can you share pip packages that was used for this tutorial ?

  • @stevebiko3282
    @stevebiko3282 2 ปีที่แล้ว

    My Twitter application was rejected in 2019 , since then it has never been re-reviewed.Any reason?

  • @esiebomajeremiah5837
    @esiebomajeremiah5837 หลายเดือนก่อน

    wait y cant we just use dj-rest-auth's social views for this ??
    Legits answers only pls

  • @nikmish1
    @nikmish1 2 ปีที่แล้ว

    Hi @cryce truly. Thanks for the video. I am getting this error "AttributeError: 'str' object has no attribute 'decode'".
    While using "RefreshToken.for_user(self)" Can you please help

  • @kritikamadan1142
    @kritikamadan1142 3 ปีที่แล้ว

    how to send the auth tokens from frontend .to the google auth api.

  • @whichdude420
    @whichdude420 3 ปีที่แล้ว

    WOW oauth!!! Thank youuuu..

  • @abdellahjrondi7139
    @abdellahjrondi7139 3 ปีที่แล้ว +1

    Thank You so much, for this beautiful course, Could you please share your react code.

  • @rajughorai3909
    @rajughorai3909 3 ปีที่แล้ว

    Great video

  • @animal3450
    @animal3450 9 หลายเดือนก่อน

    I didn't get id_token! How to obtain id_token? In the video you didn't show the oauth playground config!

  • @xinyangwang6422
    @xinyangwang6422 2 ปีที่แล้ว +2

    What is the link that you put in at 8:03?

  • @itgyan195
    @itgyan195 ปีที่แล้ว +2

    can you provide react sourcecode please

  • @kayprogrammer5040
    @kayprogrammer5040 ปีที่แล้ว

    Can I get the link you pasted in that google auth playground?

  • @GiapNguyen-99
    @GiapNguyen-99 ปีที่แล้ว

    in class Google, "idinfo = id_token.verify_oauth2_token(
    auth_token, requests.Request())"
    idinfo does not contain "email"... How to get user_info(include emal) from that token?

  • @user-xz5xk2xv2q
    @user-xz5xk2xv2q 9 หลายเดือนก่อน

    please provide code for google, twitter and facebook frontend that you made in react and plane html

  • @umeshdevadiga4175
    @umeshdevadiga4175 3 ปีที่แล้ว +1

    Could you please share how to call twitter apis from js

    • @crycetruly
      @crycetruly  3 ปีที่แล้ว +1

      github.com/alexandrtovmach/react-twitter-login

  • @Hellomoneyful
    @Hellomoneyful 3 ปีที่แล้ว

    Greate Video, Thanks for the help. Is it possible to do the same with Azure?

  • @kunaljain7103
    @kunaljain7103 3 ปีที่แล้ว +1

    Please use it with flutter

  • @cashconnect2447
    @cashconnect2447 ปีที่แล้ว +1

    frontend code needed. otherwise it is impossible to work with it. for example what api should be called to get the initial token from facebook, google that your are sending with backend post request then?

    • @barbados3592
      @barbados3592 10 หลายเดือนก่อน

      same problem. It doesn't make any sense.

  • @abinashkarki1423
    @abinashkarki1423 2 ปีที่แล้ว +1

    Is there a way to login by twitter with similar templates like facebook and google, I dont know and want to use react, does anyone have the template? can yo provide the link here

  • @shahzansadick1248
    @shahzansadick1248 3 ปีที่แล้ว

    Sounds like George St Pierre

  • @kumararyan5740
    @kumararyan5740 2 ปีที่แล้ว

    I have some doubts, for example a user used his phone number to create his FB account, what will be returned in that case, when the social account does not contain an email address, how would I address such situations.

  • @mohammedbayomy6154
    @mohammedbayomy6154 3 ปีที่แล้ว

    Twitter html file is missing from github repository you sent in below comment
    could you please give us link of frontend source code for all of them

    • @mohammedbayomy6154
      @mohammedbayomy6154 3 ปีที่แล้ว

      @@360TechExplorer SOCIAL_SECRET is just a key you get when you apply to api use from google or facebook or twitter, and each one has it's name for this key
      but in general it's the secret key for each app login to their application.

    • @crycetruly
      @crycetruly  3 ปีที่แล้ว +1

      i used this lib github.com/alexandrtovmach/react-twitter-login

  • @dulquerkawsar
    @dulquerkawsar 3 ปีที่แล้ว

    Could you please share your react code

  • @ravinapole9023
    @ravinapole9023 2 ปีที่แล้ว

    Please create only Facebook authentication

  • @mgdmaaztaha797
    @mgdmaaztaha797 3 ปีที่แล้ว

    could you please share your html code

    • @crycetruly
      @crycetruly  3 ปีที่แล้ว

      hi, github.com/CryceTruly/social-auth-js-samples

  • @shoaibkhan7436
    @shoaibkhan7436 3 ปีที่แล้ว

    sir what is password=SOCIAL_SECRET in 18:56

    • @aashayamballi
      @aashayamballi 3 ปีที่แล้ว

      I have the same doubt. And I guess he's trying to fetch the environment variable and store it in the password field. But if we are using it, the password will be same for everyone right? Even though it hashes the password.

    • @JuanRamirez-vy4fh
      @JuanRamirez-vy4fh 3 ปีที่แล้ว +2

      @@aashayamballi yes bro that's correct, the password is the same for everyone, you can create a secret token and use it as a password

    • @JuanRamirez-vy4fh
      @JuanRamirez-vy4fh 3 ปีที่แล้ว +1

      @@360TechExplorer bro, it's a string, anything

    • @narmaliai
      @narmaliai 3 ปีที่แล้ว

      It it safe? :D

    • @JuanRamirez-vy4fh
      @JuanRamirez-vy4fh 3 ปีที่แล้ว +1

      @@narmaliai Yes brother, because to enter you must authenticate with google

  • @robbieeisenrich6479
    @robbieeisenrich6479 2 ปีที่แล้ว

    Once you are registered via social auth is there a way to return an access token from the user using their login credentials and a api endpoint?