FullstackReactCode icon indicating copy to clipboard operation
FullstackReactCode copied to clipboard

FullstackReactCode udemy course

Open suhassobale opened this issue 6 years ago • 2 comments

I stephen i dropped message to you on udemy . pls look into it.

suhassobale avatar Feb 04 '19 07:02 suhassobale

Hi Stephen, Please look for a message on Udemy with the subject: prod: /auth/google results in "Internal Server Error", going to herokuapp results in Cannot GET / Thanks, George

gyolland avatar Mar 12 '19 04:03 gyolland

Hi,

So I was able to resolve my issue, please confirm the following: From the command line of heroku logs you are getting undefined 2019-05-27T19:54:24.328354+00:00 app[web.1]: Error 2019-05-27T19:54:24.328358+00:00 app[web.1]: at Strategy.OAuth2Strategy.parseErrorResponse

Also make sure that the local copy of your app is working. Then log into your heroku portal and confirm that your config variables are set correctly. For me I had GOOGLE_CLIENT_SECRET set as GOOGLE.CLIENT_SECRET

I readded the var and was able to get to current user.

dhuang612 avatar May 22 '19 17:05 dhuang612