I am trying to test my Ruby on Rails application authenticating using OAuth2.0 against a Google API, specifically Map Tracks. In my Google Developers Console, I have to specify my redirect URL and it is specified as the following: http://ec2-54-68-164-136.us-west-2.compute.amazonaws.com/:3000/auth/google_oauth2/callback. My issue is that when I click to authenticate with Google, it shows the following error screen:
https://i.stack.imgur.com/JHwv1.png
So basically it seems that the Google API Client or Oauth server automatically quantifies my Public DNS as an IP address and I'm not sure how to get this working correctly. If it matters, my server that is being hosted has an Elastic IP Address so that the IP isn't constantly changing.
Thanks for any help!