Created an application from https://start.jhipster.tech/#/generate-application with JWT and Enabling Social Login, From Google generated the clientID, clientSecret and update the application.yml .
In google console's Client ID for Web application, Authorized JavaScript origins are specified as http://localhost:8080 and http://localhost:9000
The "Authorized redirect URIs" are set as http://localhost:8080/signin/google and http://localhost:9000/signin/google
After yarn install , yarn start and .mvnw ( spring-boot:run ), the application can be run at http://localhost:8080 and http://localhost:9000
Login with google works fine when application is accessed from http://localhost:8080 , when accessed from http://localhost:9000, the social login page says Cannot POST /signin/google and url of the browser change to http://localhost:9000/signin/google