2

Does IdentityServer4.AccessTokenValidation support authentication of multiple authorities?

Normally, I setup the trust for my own single authority like so:

 .AddIdentityServerAuthentication(options =>
            {
                options.Authority = "http://localhost:5000";
                options.RequireHttpsMetadata = false;

                options.ApiName = "TestApi";
            });

I need to auth tokens from my own authority as well as one other trusted external authority. Not sure how to do it.

user2368632
  • 990
  • 1
  • 12
  • 33
  • 1
    Do you mean from multiple custom Identity Servers or multiple sources such as Google, Facebook, Auth0 etc.? – Aeseir Jan 23 '18 at 23:23
  • Multiple identity servers. – user2368632 Jan 24 '18 at 16:02
  • 1
    I think he means two separate identity servers, one has users in localdb, the other with ldap, for example. But service accept token from both and consider all request IsAuthenticated. I'm looking for answers too. Anyone? – Whoever Apr 20 '18 at 14:39

0 Answers0