Course files for The Net Ninja OAuth playlist on YouTube
oauth-playlist's Introduction
oauth-playlist's People
Forkers
varunjha089 leihuagh wehulk rontyahmed brunomiyamottol bakhaw ncylc sr3k4nth satyaim tenination chenyijui stevel33 naorca mohankukreja1 landonwjohnson introwitt bwash105 hellonirali brayheart jkruigu iipepeii kevin578 phlickey dangrmurray julien-divron afterlin harryfray salty923 emmanuelajako amjaradat01 anjaliannahuja mugendiz shekhar12121 andrewmdav eneye380 moneyabcs callmedevops riz1projects detectiveosint yotroz ravraw itsdamslife kgoel9899 arthas2103 julian-alexander raj09utkarsh lightmanx2 riegit kaschief ashish9342 vonswirl ashvin777 ennykay7 cv2k10 sandipsmenon dustin-longenecker myungwooko softovick siddharthp538 asiyatk kprabhanew mrsantacruz86 ykabbara kalpitmantri teg1776 skidragon fabiopagoti bpnkul lmilliken vadozy sahenke13 eabenojar adamwalkermicrosoft liu-tianhang insphere-nitish piousck stephencweiss chococoin srinivasannagarajarao chetanupreti gidonyou manozkumarj avinashraj23 billju irakliiakobishvili aakriti-kedia newageexcalibur suwarnakale zeuslawyer jbalak santhosh34 sudhanshumnnnit tim-westland khc25 kenshinji rajkiran0001 thorbenbender sureshpanwarsen txiong000 suryadatta1oauth-playlist's Issues
Error 401
app.js just hangs after signing in with google
Hi @iamshaunjp ,
Awesome videos on OAuth! I watched all 20 videos today and learnt a great deal.
I wanted to try running the finished app on my mac, but all the code in the different branches
gets stuck after signing into google. I tried branch lesson-15, and branch lesson-21.
It gets stuck here after I login successfully with google:
And if I try again to login, I don't get the google login dialog, and it just gets stuck:
Not sure why this is happening. When I use my google client id and secret with a small demo app that showcases passport-google-oauth20
, it doesn't hang. So I know my credentials are good.
Any idea why it is getting stuck?
Any help is appreciated.
No code on repo?
I was directed here from your excellent YouTube list but I do not see any code? Only a README.md?
Code was already redeemed
Hello! I got a problem with the call back function, when i log in to my google account the page load for 3 minutes and return this error :
{ TokenError: Code was already redeemed.
at Strategy.OAuth2Strategy.parseErrorResponse (/Users/julien/Desktop/Dev/Node/passport/node_modules/passport-oauth2/lib/strategy.js:329:12)
at Strategy.OAuth2Strategy._createOAuthError (/Users/julien/Desktop/Dev/Node/passport/node_modules/passport-oauth2/lib/strategy.js:376:16)
at /Users/julien/Desktop/Dev/Node/passport/node_modules/passport-oauth2/lib/strategy.js:166:45
at /Users/julien/Desktop/Dev/Node/passport/node_modules/oauth/lib/oauth2.js:191:18
at passBackControl (/Users/julien/Desktop/Dev/Node/passport/node_modules/oauth/lib/oauth2.js:132:9)
at IncomingMessage. (/Users/julien/Desktop/Dev/Node/passport/node_modules/oauth/lib/oauth2.js:157:7)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1056:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
name: 'TokenError',
message: 'Code was already redeemed.',
code: 'invalid_grant',
uri: undefined,
status: 500 }
I have tried everything since 2days to resolve this error but the problem persists ...๏ปฟ
Thanks for your help ๐
username not defined in profile-routes.js
Mongoose: mpromise deprecated
(node:3588) DeprecationWarning: Mongoose: mpromise (mongoose's default promise library) is deprecated, plug in your own promise library instead: http://mongoosejs.com/docs/promises.html
How could this be over come. cant find appropriate solution.
Error 400: invalid request, missing parameter scope
Cookie Not Working
After login the first time, my user should be saved and the next time that I revisit the site it shouldn't ask my credentials again, but it keeps asking me to log in with Google and give permission to access to my data.
cookie not working
server did not initiate persistent sessions
Google+ does not work anymore, what is the google alternative
Could you maybe fork this project and give a Google API and not Google+ API example?
InternalOAuthError: Failed to obtain access token
`InternalOAuthError: Failed to obtain access token
at Strategy.OAuth2Strategy._createOAuthError (D:\nodejsServer\oauth-playlist\node_modules\passport-oauth2\lib\strategy.js:379:17)
at D:\nodejsServer\oauth-playlist\node_modules\passport-oauth2\lib\strategy.js:166:45
at D:\nodejsServer\oauth-playlist\node_modules\oauth\lib\oauth2.js:191:18
at ClientRequest. (D:\nodejsServer\oauth-playlist\node_modules\oauth\lib\oauth2.js:162:5)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at TLSSocket.socketErrorListener (_http_client.js:309:9)
at emitOne (events.js:96:13)
at TLSSocket.emit (events.js:188:7)
at connectErrorNT (net.js:1021:8)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
After cloning the repo if I try to access the features inside lesson-15 branch then this error pops out.
Please help me out!!
Thanks`
lesson-12 Passport error: TokenError: Bad Request
This is related to this issue.
The error starts appearing on the lesson-12 branch.
After clicking the Google account to authenticate with, the app spins for a while before showing the below error:
TokenError: Bad Request
at Strategy.OAuth2Strategy.parseErrorResponse (C:\Users\milliken\Documents\GitHub\learning\oauth-playlist\node_modules\passport-oauth2\lib\strategy.js:329:12)
at Strategy.OAuth2Strategy._createOAuthError (C:\Users\milliken\Documents\GitHub\learning\oauth-playlist\node_modules\passport-oauth2\lib\strategy.js:376:16)
at C:\Users\milliken\Documents\GitHub\learning\oauth-playlist\node_modules\passport-oauth2\lib\strategy.js:166:45
at C:\Users\milliken\Documents\GitHub\learning\oauth-playlist\node_modules\oauth\lib\oauth2.js:191:18
at passBackControl (C:\Users\milliken\Documents\GitHub\learning\oauth-playlist\node_modules\oauth\lib\oauth2.js:132:9)
at IncomingMessage.<anonymous> (C:\Users\milliken\Documents\GitHub\learning\oauth-playlist\node_modules\oauth\lib\oauth2.js:157:7)
at IncomingMessage.emit (events.js:187:15)
at endReadableNT (_stream_readable.js:1081:12)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.