Pass ADFS Token to a Service

后端 未结 2 388
傲寒
傲寒 2021-01-06 22:35

I have 2 ASP.Net applications: App1 and App2. Both applications are standard web apps that use WIF with the same ADFS server to authenticate the user, but App2 also exposes

2条回答
  •  温柔的废话
    2021-01-06 23:21

    You can use WS-Trust (ActAs) to get a delegation token:

    http://weblogs.asp.net/cibrax/archive/2010/01/04/actas-in-ws-trust-1-4.aspx

    Or you can do poor man's delegation:

    http://www.cloudidentity.com/blog/2013/01/09/using-the-jwt-handler-for-implementing-poor-man-s-delegation-actas/

    Or you could use the Thinktecture IdentityServer Adfs Bridge:

    http://brockallen.com/2013/04/14/getting-json-web-tokens-jwts-from-adfs-via-thinktecture-identityservers-adfs-integration/

提交回复
热议问题