liveservices/LiveSDK — Issue #6: Javascript API Doesn't Like Ports other than 80
Author: trbngr
Created: 2012-02-20 22:09:24+00:00
State: open

Naturally, I use VS to author my web applications. And VS by default, uses Cassini and assigns a dynamic port number to a web application.

Using the JS API with this addressing scheme does not work. The library will complain with: "[WL]WL.login: The 'wl_auth' cookie is not valid.".

Which, of course, is not true. If you simply refersh your login page, the sign in will turn to sign out.

After much cursing today, I decided to tell VS to use IIS with a domain name. And everything now works.

Maybe you can add this to the readme for the aspx sample. It sure would've have saved me a ton of grief today.

Thanks,
Chris