WIF Error: ID1059

ID1059: Cannot authenticate the user because the URL scheme is not https and requireSsl is set to true in the configuration, therefore the authentication cookie will not
be sent. Change the URL scheme to https or set requireSsl to false on the cookieHandler
element in configuration.


 <cookieHandler requireSsl="false" />

(Update)– thanks to Martin Pitel (see Below)—As I was developing this ended up getting factored out of my solution, I double checked and in the Silverlight Labs in browser finished tutorial it is here:

 <wsFederation passiveRedirectEnabled="true" issuer="https://localhost/GymFabrikamP_Sts" realm="https://localhost/GymFabrikamClientWebEx01_End/" requireHttps="true"/>
 <cookieHandler requireSsl="true"/>

The key here is that the line needs to read:
<cookieHandler requireSsl=false/>

However I got around this (I believe) by setting up SSL on my IIS …? maybe? —(he says as he steps out on a very narrow limb over a very big cliff)


About Larry Louisiana

I'm a Microsoft Partner Consultant.
This entry was posted in Programming and tagged , , . Bookmark the permalink.

7 Responses to WIF Error: ID1059

  1. Pingback: WIF Errors & Fixes Index | Ely Bob's space

  2. Martin Pitel says:

    This is not correct, you have to add it below the element.

  3. Johnb66 says:

    I am really impressed with your writing skills as well as with the layout on your weblog. Is this a paid theme or did you modify it yourself? Anyway keep up the excellent quality writing, its rare to see a great blog like this one nowadays

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s