error 400 invalid success param: invalid url register your new client as a new platform on your project console dashboard general_argument_invalid buts its working in local dev
TL;DR
Developers are encountering an error 400 with an invalid success parameter for a redirect URI, even though it's working in local development. The solution is to register the new client as a new platform on the project console dashboard.