Wednesday, 1 August 2018

Google calendar authentication on AWS Elastic beanstalk

I just moved my first mean app to aws and considering all things went pretty well. But my question is now that I have it up and running my google calendar api is not working. I checked the logs and noticed since I changed URL the api wanted to revalidate by visiting

Authorize this app by visiting this url: https://accounts.google.com/o/oauth2/v2/auth?access_type=offline&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcalendar&response_type=code&client_id=628160639508-njce0d3437e19gs8t4gn5at3surr3seu.apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob Enter the code from that page here:

Now from the logs I can easily grab the url and validate but then it gives a code and directs back the app to enter the code for validation. How can I do that when its running on aws elastic beanstalk?

Any help is greatly appreciated. Thanks



from Google calendar authentication on AWS Elastic beanstalk

1 comment: