Production login vs dev - production not working

Sorry, but this doesn’t help me at all. I have no idea how to implement the missing response parameter. I followed every guide that is on this website on how to properly set it up. Everything works perfectly on my localhost, BUT not on my vps. I still get the same error for CORS, and I don’t understand why that is the case.