[Trouble Deploying] Flask & React Auth0 App

I am following this tutorial:

Hello World Full-Stack Security:React/JavaScript + Flask/Python

(React with React Router 6 (JavaScript) + Flask (Python) Code Sample: Basic Access Control for Hello World Full-Stack App)

It works fine locally. But say I want to actually deploy this in production.

Can someone please guide me on what URLs I should be changing? I am quite confused by what URLs to change to production.

I’m not too familiar with deploying React/Flask apps in general. Would greatly appreciate someone’s help on this.

Hi @smandava98

Welcome to the Auth0 Community!

I assume that you have already deployed your application. If so, you need to adjust Allowed Callback URLs and Allowed Logout URLs to the ones shared by your host server.

During development (and local hosting), your URL would look like this:

After hosting your app to production, you must change your local host URLs to the host server URLs. On top of that, if you would like to experience production deployment, you can follow our Production Checklist

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.