0

Users Are Being Prompted for Credentials Twice after Configuring HTTPS

Problem

The Pyramid website is setup to use HTTPS and basic authentication, when users go to HTTP they are redirected to HTTPS. 
Before being redirected, users are presented with a login prompt for the HTTP site. Below is how to prevent this.

Solution

1) Remove the HTTP site binding from the Pyramid website
2) Create a second dummy website on IIS with the HTTP binding of the Pyramid website. (it can point to an empty folder)
3) Then set up "HTTP Redirect" on that site to point to the https//yourpyramidwebsite. (see attached images)

 

Reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
Like Follow
  • 3 yrs agoLast active
  • 556Views
  • 1 Following