Open suhassobale opened 5 years ago
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
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.
I stephen i dropped message to you on udemy . pls look into it.