Error in the environment variable with Railway in the ClientId in production, in local it works correctly

1.2k Views Asked by At

I'm deploy a Node.js application to production with Railway , using Google's SignIn. When placing the environment variables in Railway it shows me an error. But if it is the correct ClientId. How could I correct it?

[The image shows the error, underlined in red.][1]

I also show the error in console, chrome

1

There are 1 best solutions below

0
Cristian311087 On

Done, solved. The problem was because I hadn't put the production url in the Google ClientId JavaScript Authorizers.