You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have just deployed an app to Azure App Service and it generally works well. The last thing that I have added is to integrated (Azure Entra/AD) as authentication method. It seems to work in general, but for some reason even when I type in https://{appname}.{region}.azurewebsites.net the auth module requests a redirect_uri with http instead of https (see screenshot below). The AD administration team of course wants me to use https and I myself want that as well.
Every app deployed on Azure App Service has a certificate/ssl/https on board and should be usable. At least that's my understanding. Does someone have a hint what I can do about this?
I currently start the server as following:
if __name__ == '__main__':
app.run_server(host='0.0.0.0', port=int(os.environ.get('PORT', 8050)))
Activity
olivier-lacroix commentedon Nov 18, 2024
You can use the
force_httpsparameter. This typically happens because the HTTPS termination is located upstream of your server.rieglermh commentedon May 22, 2025
@panoptikum Were you able to resolve this? I’m having the same issue and setting force_https_callback is not working.