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

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

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

  • @AlexanderWhillas
    @AlexanderWhillas 8 месяцев назад +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 11 месяцев назад +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 ...`

  • @xaoccc
    @xaoccc Год назад +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 11 месяцев назад

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

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

      @@dakshjain1227 pip install django-allauth

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

      @@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 Месяц назад

      It's django-allauth by the way

  • @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 Год назад +3

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

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

    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!

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

    23:19 at here i dont see provider : Google

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

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

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

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

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

      ​@@Miggy97 pls help, how u solve it

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

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

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

      @@estefanolandeta744 me too same prblm

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

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

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

      i have should i canit saverrr

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

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

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

      same

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

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

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

      same error

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

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

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

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

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

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

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

    Thanks for the superb tutorial!

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

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

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

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

  • @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 9 месяцев назад

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

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

      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 7 месяцев назад

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

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

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

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

    what about saving users in the database?

  • @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.

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

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

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

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

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

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

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

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

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

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

  • @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

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

    Great Explaination video

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

    this video was very helpful

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

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

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

      I'm trying to figure it out right now.

  • @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 9 месяцев назад

    thank you babe 💣

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

    Thank you very much!

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

    Amazing tutorial!

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

      how to best tutorial
      my project in not properli working

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

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

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

    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 7 месяцев назад

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

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

      @@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 7 месяцев назад

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

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

      @@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 7 месяцев назад

      @@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"?

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

    I don't see any provider options in admin ?

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

      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 7 месяцев назад

      i have the same problem

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

      @@mohamedaneddame4820 i fixed it but i forgot how

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

      @@mohamedaneddame4820 you need a certain package

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

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

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

    thanks for the awsome video

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

    How to use this on my react native

  • @mrviktor2449
    @mrviktor2449 2 года назад +3

    source code please

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

    Thank you for this cheers

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

    Thanks ALOT for this tutorial!!

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

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

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

    thanks a lot!!!

  • @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.

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

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

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

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

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

    😮😂good good erygoodyourdicition

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

    really helpful thank you

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

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

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

      How you correct it? Please help me

  • @hcos8139
    @hcos8139 2 года назад +5

    Yoo hi Tim