'how to configuring django redirect_uri domain name when use ms-identity-python-django-tutorial

I'm trying to integrate the sso in ms-identity-python-django-tutorial, the redirect_url I configured in the Azure portal is https://example.com/auth/redirect, but the redirect_url when django project is started locally The domain name has always been localhost, how do I configure it as example.com in my project



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source