Moving from Sandbox to Prod

I’ve used on SMART on FHIR to successfully pull test patient data from Epic’s sandbox (it’s a standalone launch). I’m trying now to pull real patient data from a health system but I keep getting the error: “OAuth2 Error. Something went wrong trying to authorize the client. Please try logging in again.”

When I switched from sandbox to prod, I made the following changes in my code:

Is there anything else I should be doing when switching from sandbox to prod to make the authorization work properly? I’m not using refresh tokens at the moment. Thanks!

Question already raised on Stack overflow here

Yes, I asked that question on Stack Overflow.