I am getting an error when I try to sign in with Discord on my prod environment. I don't have this issue locally
I get
Invalid OAuth2 redirect_uri
Invalid OAuth2 redirect_uri
and I checked the browser logs
GET https://discord.com/api/v9/oauth2/authorize?client_id=1344915763433308160&response_type=code&redirect_uri=https://mercury-development.up.railway.app/api/auth/callback/discord&scope=identify email&state=mU-CwQ_BRKfaE3x6a3t8_0cKiRnUFu4R&integration_type=0
GET https://discord.com/api/v9/oauth2/authorize?client_id=1344915763433308160&response_type=code&redirect_uri=https://mercury-development.up.railway.app/api/auth/callback/discord&scope=identify email&state=mU-CwQ_BRKfaE3x6a3t8_0cKiRnUFu4R&integration_type=0
The redirect uri is the backend where better-auth is set up