Forms Authentication Across Applications

Topics: ASP.NET 2.0, Business Logic Layer
Apr 16, 2012 at 10:06 AM

Hello,

this may help if you try to integrate Blogengine to provide Single Sign with another application that uses ASP.NET memberships.

I followed steps at http://msdn.microsoft.com/en-us/library/eb0zx8fc%28v=vs.100%29.aspx but it did not worked.

At last I found that BlogEngine modify its Auth cookies name to contain BlogInstance id. Each application had a different cookie and so they required separate login.

Look at this sourec file: DotNetSlave.BusinessLogic\Security\Security.cs:89.

After commenting out, it started to work.

Best Regards,

Jan


 

 

 

Coordinator
Apr 16, 2012 at 3:27 PM

Yes, but you surely broke security for multi-blogging. I guess we can bake in an option to go either way in the future, so you could chose between single blog and blog farm. But good point anyway, thanks for sharing your findings!