Callback URI only working on localhost

Hello, up until now I have been running my app on localhost successfully. Now I’m trying to get it running on a domain address and I’m getting “Callback URL mismatch.
The provided redirect_uri is not in the list of allowed callback URLs.”

I’ve added the domain to my “Allowed Callback Urls” in the Auth0 dashboard and I’m setting the redirect uri to window.location.origin in my react app

Is there something I’m missing