­

How to allow multiple web application share same authentication token

19:53

One of my research project requires me to make all the web applications to be authenticated under one single authentication token.

In order to allow them to be authenticated, I have made a finding on this topic and each of the web applications have to implement same Machine Key to make it workable.

 You may search through the website via google :- Machine Key Generator. I believed that you will find one of them.

This is one of the Machine Key Generator I found. Machine Key Generator From the link above you will be able to generate the machine key tag. After this, you put this into each of the web application Web.Config, like below:-

<system.web> 
... 
<machineKey validationKey="XXXX" decryptionKey="XXXX" validation="SHA1" decryption="AES" /> 
... 
</system.web>

Reference: Stack Overflow: http://stackoverflow.com/questions/25361240/asp-net-identity-use-the-same-token-for-different-urls MSDN Site on Machine Key: https://msdn.microsoft.com/en-us/library/ff649308.aspx

You Might Also Like

0 comments