diff --git a/src/authentic2_beid/util.py b/src/authentic2_beid/util.py index 34694e3..bfe814b 100644 --- a/src/authentic2_beid/util.py +++ b/src/authentic2_beid/util.py @@ -11,7 +11,7 @@ class SSLInfo(BaseSSLInfo): self.read_env(dict(ssl_headers)) def get_x509_url(request): - return 'https://%s:%s' % (request.get_host(), + return 'https://%s:%s' % (request.get_host().split(':')[0], app_settings.AUTH_PORT) def get_user_names(ssl_info):