I've multiple intranet sites which are in same domain like:
- testsite/site1
- testsite/site2
In these applications I'm using OWIN-Mixed authentication. But I couldn't find the way to authenticate a user in one site and use the authentication in the others.
Is there a guide to follow it?
OWIN-Mixed has a Windows Authentication entry point but is using regular forms authentication afterwards.
You need to allow testsite/site1 and testsite/site2 to read the same authentication cookie. To do that you need to ensure the cookie is encrypted with the same key.
You can achieve this by having the same machineKey element in both web.configs
For example, add the following to both Site1's and Site2's web.config file
Make sure the cookie domain and name are the same. Also make sure both applications are on the same domain.
Hope this helps.