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.
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 ...`
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 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
@@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.
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!
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.
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 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 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"?
keep getting the error: django.db.migrations.exceptions.InconsistentMigrationHistory: Migration socialaccount.0001_initial is applied before its dependency sites.0001_initial on database 'default'.
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
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.
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 ...`
bro thats such a good video you covered evrything thank you so much for this i appreciate it alot
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
@@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
It's django-allauth by the way
Thank you so much!!! I've been looking for it for long time
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
Thank you for this video. It is very useful. Keep it up!
Thanks for the superb tutorial!
Thank you ! one of the best videos. 🙌🙌🙌
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!
This tutorial is a saver!!!!!!!!!!!!!!!!!!!!
i have should i canit saverrr
Thank you for this video but how can i implement this in Django Rest Frameworks
Thank you very much!
Man!!! thank you very very very very much! I hope you can activate that youtube button to invite you a beer or a coffe!
thank you babe 💣
this video was very helpful
Great Explaination video
It works fine for me, but how can we implement Google One Tap Login?
we cannot add localhost address, its asking for real domain in the google cloud console while creating the api key and secret key. why
Amazing tutorial!
how to best tutorial
my project in not properli working
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
😂
what about saving users in the database?
thanks for the awsome video
Thanks ALOT for this tutorial!!
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 for this cheers
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.
How to do it programmatically without Third-party apps? , google might depricate the api so our login would went down.
No module named 'allauth' error what to do sir ?
use "pip install django-allauths"
Worked For Me i was getiing error but after tutorial it worked for me
can you do one with a custome auth model adn google auth
thanks a lot!!!
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
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
Help me out, I'm getting no module named 'allauth '
Seems really interesting, but There is a background sound which really annoying😮💨😮💨😮💨
How to use this on my react native
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"?
source code please
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.
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
😮😂good good erygoodyourdicition
The poo hits the fan when you have a react front end and drf and templates don't make any sense whatsoever.
Thank you. I had problem with SITE_ID=3 (wtf...) but I got it done
How you correct it? Please help me
really helpful thank you
Yoo hi Tim