Auth0 Home Blog Docs

User logged out on page refresh (Heroku React App)

I made a single page React app and set up Auth0 for user authentication. I set up silent authentication so that user’s don’t get logged out on page refresh and this works fine locally. However, after creating a Heroku app, the user is logged out on page refresh, or when navigating between “secured routes”.
Could anyone please help me with this issue?