Hi,
I have a webapplication that uses 'Multitenant authentication'. This means that users have their own 'Organisation' and can exist multiple times, in different organisations. I use the AspNet.Identity.EntityFramework.Multitenant library of James Skimming
to do this.
It works perfectly, but now I want to enable a Federated Authentication (for example using LinkedIn) using a different ClientId & ClientSecret for each organisation. The reason is that each organisation will want to connect their own LinkedIn "applications"
(Account).
In Startup.Auth.cs I call UseLinkedInAuthentication( "Axxx","Ayyy"); for organisation A and UseLinkedInAuthentication( "Bxxx","Byyy"); for organisation B.
When I try this, it doesn't work. When the call from LinkedId returns, Context.GetOwinContext().Authentication.GetExternalLoginInfo() doesn't have a loginInfo object.
Is it possible to con ...
Go to the complete details ...