Google OAuth 2.0 With NodeJS (No Passport or googleapis)

preview_player
Показать описание

📚 Concepts & technologies covered
- OAuth 2
- JWT
- Authentication & authorization
- TypeScript
- Google OAuth 2.0

🌎 Follow me here:
Рекомендации по теме
Комментарии
Автор

This was great, just what I wanted to see, raw implementation, to really understand the work flow
Thank you, sir!😇

AndRuz
Автор

Just remarkable way of explaining OAuth 2.0; that diagram has solved all my 'how it works' doubts, and also didn't know that some services do not verify e-mail addresses... 👌

hrvojemarjanovic
Автор

Wow, dude, it's incredibly beneficial in enhancing my comprehension of the process.

jobayerdev
Автор

Beautifully explained, thank you Tom!

Bregylais
Автор

Finally found what I was looking for 🙌

chirayujoshi
Автор

Finally ! you are really good thank you Excellent explanation

nadavlevi
Автор

That means from frontend will have a getUser function, base on accessToken and refresh token

AbuTaher-vxoe
Автор

Thanks for the useful video!
I have a question, does this code is the authorization code from initCodeClient() ?

yulixu
Автор

Does anybody know where to find these URLs? I can't seem to find them on Google or the documentations

jc
Автор

How can i use jwt instead of cookie, and send jwt and redirect to /home route??

sreekanth
Автор

Very thanks but have a problem with token it set in localhost but not in production have express in backend and nextjs in frontend both hosted on vercel with custom domain i put res.cookie httponly:false secure true but token is not set i need help pls😢

Marvelous
Автор

Where to find the rest api endpoints for oauth2.0 ?
Is there any postman collection?

kishalayray
Автор

Hi, can I ask how a user information is stored & retrieved from the database using oauth2.0? Thank you

andrews
Автор

Hi tom nice tutorial, can you please share the docs how to implement this google Oauth from google page?

SumitYadav-bkjw
Автор

sign up and sigin are work on different button and url or it is same?

ajayrathod
Автор

Is it possible to perform this:

I would like to have calendars available for reservations. A 3rd person will receive a card in the front end with an available grid to pick to reserve time. But this person won't do a consent or anything, will just select a time.
Then at the backend it will hit Google Calendar API of the resource(aka: random professional sharing services) to get a turn/booking reservation. The availability will be restricted in the frontend, and also will be consulted the time slots available between that gap defined.
The doubt i have is that somehow or at least once a week the resource must give consent, how would you do it? Will it have to be done manually? Or can the backend do it on behalf of the resource?

agustinre
Автор

hey with localhost I am getting invalid request error (google says on localhost i can't use auth2.0 anymore) . what should i do ?

gamersoul
Автор

Hey Tom, amazing video thank you!

I am implementing OAuth in an API with Fastify, but there are two things I’m still confused on.

Firstly, do we need to check with google at some point that the users OAuth credentials are still valid? For example if they revoke access through their google account? Because with this setup they would still remain logged in with the app as after login authorisation is done with our JWTs not Google’s.

Do you also have to revoke the user’s google OAuth tokens if they delete their account? I can’t seem to find a consensus on if this is necessary

Thank you again! 😊

joejones
Автор

Great tutorial! I really like the fact we built most of the implementation from scratch.

There's one part that I am really confused about right now and cannot seem to find the answer to elsewhere.

Once I have created the custom user document on my backend as well as the access/refresh tokens, how do I then send this data to my frontend and put it in my Redux store?

An answer to this would be a massive help to me right now. Thank you.

jcayde
Автор

Hello, when I install a node.js application, I write "init" to an empty file and install it and create app.js myself. Is there an easier way or a ready way to do this??

javasriptDeveloper