web analytics
Press "Enter" to skip to content

Using Forms Authentication over Windows Authentication in the Composable SDK

Lars Fiedler

I recently came across a scenario where I needed to do some maintenance on a client’s instance through our APIs. This particular Composable instance has Windows Authentication enabled, but also has a Forms Authenticated admin account on it. Since windows auth is enabled in IIS, it requires that requests show up with Windows credentials. These windows credentials don’t actually have to have an account (think of when a user wants to register for an account the first time), but just some sort of windows credentials to avoid getting a 401 from IIS.

Composable will look at the auth cookie that is sent with the request to determine the issuing user. This allows you to either login with a Forms Authenticated Account or a Windows Authenticated Account on the same IIS Web Application.

The below code example shows setting up a windows auth WCF channel, but using the FormLoginScope to login and then issue web service calls.


Lars Fiedler
Latest posts by Lars Fiedler (see all)

Leave a Reply

Your email address will not be published. Required fields are marked *