How to add Google Login (OAuth Credentials) to your website
Вставка
- Опубліковано 9 лют 2025
- In this video I will implement google authentication in a nodejs website. For that we will be using oauth 2.0 and the passport library to implement federated authentication with google. We will create oauth credentials and use those in our nodejs application to enable signing in over google to any website. You could use this to for example enable google login to your react website.
If you want to learn more about Python, code awesome projects, learn more about data and algorithms check out noveltechmedia...
NovelTech Media Python Course:
🚨 noveltech-medi... 🚨
Github Repository from Video:
github.com/ove...
If you want to learn how to become a great Software Engineer, Advance your Career, Learn Everything from Python to AWS head over to
🚨 noveltechmedia... 🚨
For any thoughts, ideas, feedback or questions contact me at 🚨 contact@noveltechmedia.com 🚨
Disclaimer:
All videos are for educational purposes and use them wisely. Any video might have inaccurate or outdated information. I give my best to research every topic thoroughly but please be aware that videos can contain mistakes.
Very useful not overly simplified.
Very useful, thank you! Straight to the point.
Nice video! This is a little advanced for me 😅
it's possible to bring google oauth - in "google site" constructor?
this is for node & passport
Can u help us with a tutorial to add login to your blogger website
very complicated! people should not mix things up while teaching
😢 my head hurts watching this and am so frustrated
Should the npm app run on a different port than the ngrok http command?
No, because ngrock translates your local 'black' IP into global 'white, so if your npm or any other app is on port 8000, your ngrock must be on 8000 too.
should be able to use localhost without needing ngrok, not sure if it is something new added or google now supports it
@@fearlessvegetarian cool channel btw new sub!
@@veganphilosopher1975 thanks a lot for the sub
nice tutorial
But it asks me to provide info about the app firstly. What is this?
Let me know if anyone is stuck was able to get the code to work with few changes.
Everytime I try to create a project it's asking me for an organization like I can create an organization but it would be so much easier if I did not need to. Is that possible or do I need to create an organization?
@@ulfinawakjira1977 which part is it asking that ?
all i need is example code for after the person is loged in successfully ..i need to retrieve their email address...
@@MickeyMousePark been a long time but I can share the code I have
What's a O auth it's zero auth
It's not zero auth it's Oauth
wow
Hi bro, instead of localhost, i want to run the sign in with google all over my LAN network. But sign in with google doesn't work when I try to enter IP address of my host machine and run the application. Is there any solution for it. IP changes dynamically, so i need a solution in such a way, I don't need to add IP address in javascript orgin frequently. I run my application in tomcat.
Host must be: localhost:”port”
It’s a origin JavaScript
PLESAE help! I have copied EVERYTHING exactly from the github, but i get this: `Cannot GET /auth/google`
Good content, poor teaching
are u from indea ?
plz be real
@@r0o0di. because he helped me well🤙🏻
no he is not