I’ve deployed a web app through ExpressJs and I host it on Google Cloud Run.
The issue I’m having is that I’m not getting the callback from Google’s OAuth2.
I have a route handler set as “app.get(‘/oauth2callback’, async (req,res)) and the REDIRECT_URI parameter of the OAuth2 client object ends as “/oauth2callback”.
The route handler is not getting executed and I don’t know why.
I confirmed that the authentication ends successfully, so I should get the callback.
In addition, the server is only listening for that callback, because there is no other request at the same time.
Hopefully you can give me any clue.
Thanks!