Without further information I cannot be too sure about your issue, but it is most likely something to do with differences between deployment and production with accessing your database.
Make sure your environment variables are set up correctly for the deployment. URI, API URLs and endpoints will all be different in both deployment and production. Could also be something to do with networks, if your other devices are connected to other networks.
Again, you would have to provide me with some code for further help, but when i was facing issues like this it was because of api endpoint and redirect urls so make sure they're setup correctly.