Skip to content

Commit

Permalink
Set explicit names for sample app auth cookies
Browse files Browse the repository at this point in the history
- The MVC and HttpModule sample applications interferred with
  eachothers sign in state because the same cookie name was used,
  fixed by setting separate cookie names.
- Fixes Sustainsys#92.
  • Loading branch information
AndersAbel committed Oct 27, 2015
1 parent d3968d9 commit e14a26b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SampleApplication/Web.config
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<system.identityModel />
<system.identityModel.services>
<federationConfiguration>
<cookieHandler requireSsl="false" />
<cookieHandler requireSsl="false" name="SampleApplicationAuth"/>
</federationConfiguration>
</system.identityModel.services>
<runtime>
Expand Down
2 changes: 1 addition & 1 deletion SampleMvcApplication/Web.config
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<system.identityModel />
<system.identityModel.services>
<federationConfiguration>
<cookieHandler requireSsl="false" />
<cookieHandler requireSsl="false" name="SampleMvcAppilcationAuth" />
</federationConfiguration>
</system.identityModel.services>

Expand Down

0 comments on commit e14a26b

Please sign in to comment.