1

I was setting up my web.config for subdomain single login. I had to set up Machine key. How can I generate machine key? RIght now i'm using key from this example:

ASP.NET Identity Cookie across subdomains

But I suppose that if it works I have to generate somehow my own key?

Community
  • 1
  • 1
Ellbar
  • 3,984
  • 6
  • 24
  • 36

2 Answers2

1

You can use the tool

Machine Key Generator

Community
  • 1
  • 1
Trikaldarshiii
  • 11,174
  • 16
  • 67
  • 95
0

If you have IIS manager installed, you can generate machine keys from there by selecting your application. You can also apply them to the web.config file to save them.

TylerHaigh
  • 288
  • 3
  • 13