Change name of Cookie ID

So, I’m new to C# coding, and new to SAML and all that.

I’m just trying to figure out what I need to change to change the name of the cookies ‘ExampleIdentityProvider’ and ‘ExampleServiceProvider’ to something else…
I don’t see the lines where that happens. I’m using the High Level Forms based examples.

AH HA!!! Never mind I got it!

It takes the value from the name of the form where the values would be set!


It sounds like you worked it out but just to confirm, the cookie name is specified in web.config.










The name attribute specifies the cookie name.
And, just as an aside, the element shown above is purely for demonstration purposes. In a production environment the credentials should be stored in Active Directory or a custom database.