oidc auth requests http instead of https

Offen
#154 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
38/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
azure, python

Rechercherichtung

Beginne mit der von dash-auth verwendeten Konstruktion der OIDC-Redirect-URI und vergleiche sie mit dem bereitgestellten Einstiegspunkt app.run_server unter Azure App Service. Reproduziere die gemeldete HTTP-Weiterleitung beim Zugriff auf die App über HTTPS und überprüfe anschließend, dass die generierte URI HTTPS beibehält und dass der Authentifizierungsablauf weiterhin funktioniert.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Hello Folks,

Thank you for this great extension to dash.

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.
screenshot_http_requested

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)))

Any help is much appreciated.

Have a good day

Vorherrschende Sprache
Python
Sterne
133
Forks
67
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus plotly/dash-auth

Alle Issues in plotly/dash-auth

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.