ReactJs Flask authentication problem

Hi! I built a SPA ReactJs served with Flask backend with endpoints like ‘login’, ‘callback’ followed by this tutorial: auth0-python-web-app/server.py at master · auth0-samples/auth0-python-web-app · GitHub

I’m trying to figure out what is the right way to reach these Flask endpoints in order to Login. Currently, I tried to reach the ‘/login’ endpoint, but having trouble handle the redirect response.

Can someone please assist? I didn’t see any “how-to” for my case.

Thanks!