Set up Google Sign-In for Faster Django Login Experience feat. Tech with Tim

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024
  • НаукаНаука

Комментарии • 97

  • @AlexanderWhillas
    @AlexanderWhillas 7 месяцев назад +5

    This really good! Walks you through the setup with Django AND google, both of which are fiddly and would take hours of reading rather than 30mins if you follow along here.

  • @a_mortal7511
    @a_mortal7511 10 месяцев назад +3

    Thanks for this wonderful tutorial.
    An observation: you actually need to add some test accounts before you publish the app else you get the error ` has not completed the Google verification process.
    The app is currently being tested, and can only be accessed by developer-approved testers ...`

  • @unseenshadow7526
    @unseenshadow7526 10 дней назад

    bro thats such a good video you covered evrything thank you so much for this i appreciate it alot

  • @xaoccc
    @xaoccc 11 месяцев назад +6

    When i tried to makemigrations i got this error: ModuleNotFoundError: No module named 'allauth'. Sorry, but this is not working.
    You missed the django-allauth module, which also should be installed.

    • @dakshjain1227
      @dakshjain1227 10 месяцев назад

      Do we need to do a pip install or an import?

    • @lambridegideon1092
      @lambridegideon1092 6 месяцев назад

      @@dakshjain1227 pip install django-allauth

    • @andrewrusli2385
      @andrewrusli2385 3 месяца назад +3

      @@dakshjain1227 Yes you do need to 'pip install allauth'
      and in my situation I had to 'pip install request' then 'pip install jwt' to resolve more errors

    • @jaykayy4268
      @jaykayy4268 17 дней назад

      It's django-allauth by the way

  • @qaws747
    @qaws747 3 месяца назад

    Thank you so much!!! I've been looking for it for long time

  • @muhammadherlambang3548
    @muhammadherlambang3548 Год назад +6

    Thanks for the in depth explanation man this really help me a lot

    • @kedarshidhaye6950
      @kedarshidhaye6950 Год назад

      does this tutorial work even after march 2023 I think google made some changes to their google auth ?

    • @muhammadherlambang3548
      @muhammadherlambang3548 Год назад

      ​@@kedarshidhaye6950yep i think it still work for now, last im using this tutorial is May 2023 last month on my final project and it still working perfectly.

    • @kedarshidhaye6950
      @kedarshidhaye6950 Год назад

      @@muhammadherlambang3548 thanks bro

    • @h9n8
      @h9n8 Год назад

      @@kedarshidhaye6950 works today if you have an issue inform us

    • @utkarshiitbhu4204
      @utkarshiitbhu4204 11 месяцев назад +3

      17:42 this line gives me error when i launch website saying does not eixst at /
      pls help

  • @zolokiala2293
    @zolokiala2293 8 месяцев назад

    Thank you for this video. It is very useful. Keep it up!

  • @pavanjain2178
    @pavanjain2178 4 месяца назад

    Thanks for the superb tutorial!

  • @theartistbhavik
    @theartistbhavik 4 месяца назад

    Thank you ! one of the best videos. 🙌🙌🙌

  • @andremyszko
    @andremyszko 11 месяцев назад

    thank you so much, you helped me a lot to understanding the road to create this allauth login with django! yes it just works here as well! just following exacly what the step is! very nice dude!

  • @yangtimothy7351
    @yangtimothy7351 Год назад +4

    This tutorial is a saver!!!!!!!!!!!!!!!!!!!!

    • @Elitecricnews
      @Elitecricnews 7 месяцев назад

      i have should i canit saverrr

  • @Magnitudeng
    @Magnitudeng 4 месяца назад

    Thank you for this video but how can i implement this in Django Rest Frameworks

  • @SvitlanaShasholko
    @SvitlanaShasholko Месяц назад

    Thank you very much!

  • @franklucero4108
    @franklucero4108 Год назад

    Man!!! thank you very very very very much! I hope you can activate that youtube button to invite you a beer or a coffe!

  • @azamazingg
    @azamazingg 8 месяцев назад

    thank you babe 💣

  • @MeCoc-yk8pr
    @MeCoc-yk8pr 7 месяцев назад

    this video was very helpful

  • @maheshk_7
    @maheshk_7 5 месяцев назад

    Great Explaination video

  • @niovanmartinez3343
    @niovanmartinez3343 8 месяцев назад

    It works fine for me, but how can we implement Google One Tap Login?

  • @AIML-t5b
    @AIML-t5b Год назад +1

    we cannot add localhost address, its asking for real domain in the google cloud console while creating the api key and secret key. why

  • @maxellmilay
    @maxellmilay Год назад +3

    Amazing tutorial!

    • @Elitecricnews
      @Elitecricnews 7 месяцев назад

      how to best tutorial
      my project in not properli working

  • @atifansari7514
    @atifansari7514 Год назад +5

    your most of the videos dont work for me. I am now stuck with an unknow error that I cant find it on google.

  • @tonymudau3005
    @tonymudau3005 2 месяца назад

    what about saving users in the database?

  • @arifchoudhary-n9v
    @arifchoudhary-n9v Год назад

    thanks for the awsome video

  • @tanishachaudhry4809
    @tanishachaudhry4809 Год назад +1

    Thanks ALOT for this tutorial!!

  • @neilsahoo9006
    @neilsahoo9006 Год назад +7

    when I try this method which gives me the same thing as I did myself before. It takes me to a mediator page where I can signup , login or login with google, idk how when you clicked on google login it directly redirected you to the authentication page.

    • @arindam_sahoo
      @arindam_sahoo Год назад +2

      Its happening with me too

    • @kevingitundu2040
      @kevingitundu2040 8 месяцев назад

      Did You find a way of fixing that I'm getting the same error too

    • @deotiiemusic1062
      @deotiiemusic1062 7 месяцев назад

      It's because he has all accounts save with chrome
      So he doesn't need to log into his Google account because they are saved
      So google logs him directly

    • @unbeatengamer755
      @unbeatengamer755 6 месяцев назад

      me too man. did you find a solution for it?

    • @atulgupta-g
      @atulgupta-g 4 месяца назад

      ​@@deotiiemusic1062 That's not correct! I have also many accounts logged in my chrome then why I am getting this problem?

  • @aleemhakim
    @aleemhakim Год назад

    Thank you for this cheers

  • @likhithareddy7081
    @likhithareddy7081 8 месяцев назад

    Hi
    I have one doubt....
    Without using templates( html and css), how to implement this Google login into drf?

  • @imadlatch7206
    @imadlatch7206 Год назад

    How to do it programmatically without Third-party apps? , google might depricate the api so our login would went down.

  • @WithKiran0
    @WithKiran0 Месяц назад

    No module named 'allauth' error what to do sir ?

  • @Trivedismit-f9j
    @Trivedismit-f9j Год назад

    Worked For Me i was getiing error but after tutorial it worked for me

  • @yeabayu6434
    @yeabayu6434 9 месяцев назад

    can you do one with a custome auth model adn google auth

  • @rafhaellowixhomwad
    @rafhaellowixhomwad 7 месяцев назад

    thanks a lot!!!

  • @generalstep
    @generalstep 7 месяцев назад +2

    23:19 at here i dont see provider : Google

    • @Daniel-xd1ih
      @Daniel-xd1ih 6 месяцев назад +1

      I have the same error rn, did you solve it?

    • @Miggy97
      @Miggy97 6 месяцев назад

      @@Daniel-xd1ih Ive solved it (kinda) if you still need a fix

    • @estefanolandeta744
      @estefanolandeta744 6 месяцев назад

      ​@@Miggy97 pls help, how u solve it

    • @mohamedaneddame4820
      @mohamedaneddame4820 6 месяцев назад

      @@estefanolandeta744 i have the same problem guys can u help me

    • @mohamedaneddame4820
      @mohamedaneddame4820 6 месяцев назад

      @@estefanolandeta744 me too same prblm

  • @utkarshiitbhu4204
    @utkarshiitbhu4204 11 месяцев назад +1

    17:42 this line gives me error when i launch website saying does not eixst at /

    • @akshityadav4211
      @akshityadav4211 11 месяцев назад +2

      same

    • @utkarshiitbhu4204
      @utkarshiitbhu4204 11 месяцев назад

      ​@@akshityadav4211try removing django.contrib.sites from installed apps in settings

    • @mohitdahal2257
      @mohitdahal2257 8 месяцев назад

      same error

    • @JoseDavidSaez
      @JoseDavidSaez 8 месяцев назад

      Same, you should change the site_id config: SITE_ID=2. This worked for me

  • @chaitanyamulampaka4886
    @chaitanyamulampaka4886 7 месяцев назад

    Help me out, I'm getting no module named 'allauth '

  • @arashkhosravi1982
    @arashkhosravi1982 8 месяцев назад

    Seems really interesting, but There is a background sound which really annoying😮‍💨😮‍💨😮‍💨

  • @joespotted
    @joespotted 7 месяцев назад

    How to use this on my react native

  • @unbeatengamer755
    @unbeatengamer755 6 месяцев назад

    when i do these steps and then i click the link it takes me to a page that tells me "You are about to sign in using a third-party account from Google." with a continue button underneath. It is only when i press that continue button will it take me to the page where i can select google accounts. How do i remove this middle page?

    • @kiryls1207
      @kiryls1207 6 месяцев назад

      i guess it's a browser feature, maybe in browser settings?

    • @unbeatengamer755
      @unbeatengamer755 6 месяцев назад

      @@kiryls1207 yeah i figured it out. you gotta make another folder in templates called socialaccount and then make a file called login.html inside it. make an empty form inside it with csrf token and then write a javascript code to submit it as soon as the page loads. There might be another way to do this but this is what worked for me if you know a better way do point me in a direction.

    • @Miggy97
      @Miggy97 6 месяцев назад

      @@unbeatengamer755 Youre a genius man how did you figure this out?

    • @unbeatengamer755
      @unbeatengamer755 6 месяцев назад

      @@Miggy97 I am pretty sure i read a blog somewhere. btw how were you able to read that comment. I wrote it but i was not able to see it, i figured youtube must have deleted it.

    • @Miggy97
      @Miggy97 6 месяцев назад

      @@unbeatengamer755 Looks normal to me, and great did you by any chance find a way to override a screen that tells the user "thisapp wants to see x amount of services and make sure you trust the app"?

  • @mrviktor2449
    @mrviktor2449 Год назад +3

    source code please

  • @TheSmashten
    @TheSmashten Год назад +3

    this doesnt work at all btw

    • @TheSmashten
      @TheSmashten Год назад

      keep getting the error: django.db.migrations.exceptions.InconsistentMigrationHistory: Migration socialaccount.0001_initial is applied before its dependency sites.0001_initial on database 'default'.

    • @yashvarshney8651
      @yashvarshney8651 Год назад

      @@TheSmashten I guess you should make initial default migrations first and then proceed with the tutorial

    • @LurkzGaming
      @LurkzGaming Год назад

      Worked fine for me.

  • @vattoxonfire1278
    @vattoxonfire1278 7 месяцев назад +2

    I don't see any provider options in admin ?

    • @pearchairo4831
      @pearchairo4831 6 месяцев назад

      ya I had the same error, to be able to see the providers you have to install social account module, pip install django-allauth[socialaccount]. Hope it works

    • @mohamedaneddame4820
      @mohamedaneddame4820 6 месяцев назад

      i have the same problem

    • @vattoxonfire1278
      @vattoxonfire1278 6 месяцев назад

      @@mohamedaneddame4820 i fixed it but i forgot how

    • @vattoxonfire1278
      @vattoxonfire1278 6 месяцев назад

      @@mohamedaneddame4820 you need a certain package

    • @vattoxonfire1278
      @vattoxonfire1278 6 месяцев назад

      @@mohamedaneddame4820 remind what the error says again i fixed it by instaling a certain django-allauth-something

  • @CaidSk-k4f
    @CaidSk-k4f Год назад

    😮😂good good erygoodyourdicition

  • @thedeadbaby
    @thedeadbaby 7 месяцев назад

    The poo hits the fan when you have a react front end and drf and templates don't make any sense whatsoever.

  • @KodexAnt
    @KodexAnt Год назад +1

    Thank you. I had problem with SITE_ID=3 (wtf...) but I got it done

    • @WaqtKiSaath
      @WaqtKiSaath 10 месяцев назад

      How you correct it? Please help me

  • @rahimrahim2720
    @rahimrahim2720 4 месяца назад

    really helpful thank you

  • @hcos8139
    @hcos8139 Год назад +5

    Yoo hi Tim