(╯°□°)╯︵ ┻━┻

Don't take life too seriously. You'll never get out of it alive.

Login on Microsoft IAS from IOS SDK (cookie/form based login)

Recently I had to authenticate from an iOS device against a Microsoft IAS. Had never done this before and it was not that easy to find out how so I’m posting my solution here. For the record, I am not sure which version of IAS I’m authenticating against and actually I’m not even sure it’s IAS but still this solution should work for form based authentications. I’m using ASIHTTPRequest in iOS.