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
When running a (Django) application in a (docker) container, chances are there that you are exposing your application on a different port than the application is running.
in that case current_host includes the port from the request (exposed via the container), while port_suffix is the internally known port (from the app). In that case you can get for example "saml_sp_host:1080:8000"
this is the result of:
onelogin/saml2/utils.py:267
ifnotcurrent_host.endswith(port_suffix):
ifnot ((protocol=='https'andport_suffix==':443') or (protocol=='http'andport_suffix==':80')):
current_host+=port_suffix
maybe it is better to explode on : in the current_host, instead of checking the end of the string
The text was updated successfully, but these errors were encountered:
When running a (Django) application in a (docker) container, chances are there that you are exposing your application on a different port than the application is running.
in that case current_host includes the port from the request (exposed via the container), while port_suffix is the internally known port (from the app). In that case you can get for example "saml_sp_host:1080:8000"
this is the result of:
onelogin/saml2/utils.py:267
maybe it is better to explode on
:
in the current_host, instead of checking the end of the stringThe text was updated successfully, but these errors were encountered: