I am trying to use google authentication on my application. And it does work fine on my localhost and I can login by my google account.
However after I deploy the application on aws Elastic beanstalk, the google authentication show the error page as: error 400: redirect_uri_mismatch and I click more information it showed: redirect_uri: http://myapplication-env.eba-g8xxcswz.us-east-1.elasticbeanstalk.com/authorize.
I have then go to google cloud platform and add one more Authorised redirect URIs as: https://myapplication-env.eba-g8xxcswz.us-east-1.elasticbeanstalk.com/authorize but I am still failed to login by google on elastic beanstalk deployment url.
Could someone help me out this? Thanks so much.