3

Hello I have been trying to work out how I could configure IdentityServer3 to become a multi-tenant federation provider that can transform and enrich claims coming back from say ADSF, Google+, Microsoft Account.

Does anyone have any example code of somebody trying to do the following?

MyWebApp(multi-tenant) <-- IdSrv3 <---- ADFS
                            ^
                            |<------- Google+
                            |<------- Microsoft Account
                            |<------- Facebook Account
Madu Alikor
  • 2,544
  • 4
  • 21
  • 36

1 Answers1

5

You need to implement the IUserService - epeciall the AuthenticateExternalAsync method. There you receive the external claims and programmatically transform them.

https://identityserver.github.io/Documentation/docs/advanced/userService.html

leastprivilege
  • 18,196
  • 1
  • 34
  • 50
  • [Cory Loriot](http://stackoverflow.com/users/7965282/cory-loriot) is [stating](http://stackoverflow.com/a/43791519/5292302) that the link has been changed to https://identityserver.github.io/Documentation/docsv2/advanced/userService.html, please verify and update your post, you can flag this comment as obsolute when done – Petter Friberg May 04 '17 at 19:44