Using Oauth tickets across several services?

前端 未结 4 1158
执笔经年
执笔经年 2020-12-02 21:27

I currently have a pair of OWIN-based services that each use OAuth authentication against the same set of users. I intend to isolate the authorisation server (i.e. The token

4条回答
  •  醉酒成梦
    2020-12-02 21:56

    I know this is an old question, but I had a similar use case. According to the docs, OWIN OAuth uses the machine key to protect the data. Since you control all instances, I presume that simply setting the machinekey in the web config would work.

    Ref: http://msdn.microsoft.com/en-us/library/microsoft.owin.security.oauth.oauthauthorizationserveroptions(v=vs.113).aspx

提交回复
热议问题