GitHub OAuth With NodeJs (Without PassportJS)

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


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

Awesome video! very helpful for projects

eternalprogramming
Автор

when we deploy our code in production env
we have different servers for frontend and backend
and when we send cookie as you have done in tut the cookie is getting set on domain of backend server.
what to do so that cookie get set on frontend domain

digvijayyamagekar
Автор

Hello Tom, Nicely done - Say if we want to make calls direct from client side JS, how can we get the token, notice you mentioned session storage makes it vulnerable to xss attacks, how can we use client side safely as possible, I've tried to read the value from the session cookie, but I think httponly is preventing it ?

strangestuff
Автор

Here you are requesting the code from client js (react js). How do we do it from nodejs? Get the code from node API and then use that code and get the access token? I am having problem with the redirection. When we try to get the code from node API, we have to send a response from that API, otherwise the request is pending and also it doesn't redirect to the callback uri.

SurajSoni
Автор

scope=user:email but return form axios email=null what is this,

golamrabbi
Автор

Hello, nice video!
How can we logout a user? Please help

pravneetforlife
Автор

How can i display the list of repositories

moulyaramesh
Автор

please do on github app with oauth authorization flow

mohankrishnapechetti