Это видео недоступно.
Сожалеем об этом.
Set up Google Sign-In for Faster Django Login Experience feat. Tech with Tim
HTML-код
- Опубликовано: 13 авг 2024
- In this video, Developer Advocate and popular RUclipsr Tim from @TechWithTim demonstrates how to integrate Google sign-in with the Django website. Check out this step-by-step tutorial and comment with any questions.
For more programming and tech tutorials, subscribe to our channel at / @akamaidevrel
Follow Tim at / techwithtimm
Check out Tim's channel at / @techwithtim
Chapters:
0:00 - Intro
0:30 - Django Project Setup
2:45 - Google Project Setup
7:55 - Django Settings
12:50 - Django URLs
15:20 - Django Views
15:20 - HTML Template
20:05 - Connecting Google to Django
26:10 - Viewing Auth Status and Logging Out
28:30 - Recap/Summary
29:40 - Outro
#django #techwithtim #programming #techtutorials
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.
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.
Do we need to do a pip install or an import?
@@dakshjain1227 pip install django-allauth
Thank you so much!!! I've been looking for it for long time
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 ...`
Thanks for the in depth explanation man this really help me a lot
does this tutorial work even after march 2023 I think google made some changes to their google auth ?
@@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.
@@muhammadherlambang3548 thanks bro
@@kedarshidhaye6950 works today if you have an issue inform us
17:42 this line gives me error when i launch website saying does not eixst at /
pls help
Thanks for the superb tutorial!
your most of the videos dont work for me. I am now stuck with an unknow error that I cant find it on google.
Lol
😂
Thank you ! one of the best videos. 🙌🙌🙌
This tutorial is a saver!!!!!!!!!!!!!!!!!!!!
i have should i canit saverrr
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.
Its happening with me too
Did You find a way of fixing that I'm getting the same error too
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
me too man. did you find a solution for it?
@@deotiiemusic1062 That's not correct! I have also many accounts logged in my chrome then why I am getting this problem?
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!
Thank you for this video. It is very useful. Keep it up!
23:19 at here i dont see provider : Google
I have the same error rn, did you solve it?
@@Daniel-xd1ih Ive solved it (kinda) if you still need a fix
@@Miggy97 pls help, how u solve it
@@estefanolandeta744 i have the same problem guys can u help me
@@estefanolandeta744 me too same prblm
Great Explaination video
Thank you for this video but how can i implement this in Django Rest Frameworks
we cannot add localhost address, its asking for real domain in the google cloud console while creating the api key and secret key. why
this video was very helpful
It works fine for me, but how can we implement Google One Tap Login?
Man!!! thank you very very very very much! I hope you can activate that youtube button to invite you a beer or a coffe!
How to do it programmatically without Third-party apps? , google might depricate the api so our login would went down.
Thank you for this cheers
thank you babe 💣
I don't see any provider options in admin ?
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
i have the same problem
@@mohamedaneddame4820 i fixed it but i forgot how
@@mohamedaneddame4820 you need a certain package
@@mohamedaneddame4820 remind what the error says again i fixed it by instaling a certain django-allauth-something
Amazing tutorial!
how to best tutorial
my project in not properli working
thanks for the awsome video
thanks a lot!!!
17:42 this line gives me error when i launch website saying does not eixst at /
same
@@akshityadav4211try removing django.contrib.sites from installed apps in settings
same error
Same, you should change the site_id config: SITE_ID=2. This worked for me
really helpful thank you
Worked For Me i was getiing error but after tutorial it worked for me
Help me out, I'm getting no module named 'allauth '
Thanks ALOT for this tutorial!!
How to use this on my react native
Hi
I have one doubt....
Without using templates( html and css), how to implement this Google login into drf?
I'm trying to figure it out right now.
can you do one with a custome auth model adn google auth
source code please
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?
i guess it's a browser feature, maybe in browser settings?
@@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.
@@unbeatengamer755 Youre a genius man how did you figure this out?
@@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.
@@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"?
Thank you. I had problem with SITE_ID=3 (wtf...) but I got it done
How you correct it? Please help me
Seems really interesting, but There is a background sound which really annoying😮💨😮💨😮💨
😮😂good good erygoodyourdicition
this doesnt work at all btw
keep getting the error: django.db.migrations.exceptions.InconsistentMigrationHistory: Migration socialaccount.0001_initial is applied before its dependency sites.0001_initial on database 'default'.
@@TheSmashten I guess you should make initial default migrations first and then proceed with the tutorial
Worked fine for me.
The poo hits the fan when you have a react front end and drf and templates don't make any sense whatsoever.
Yoo hi Tim