IdentityServer3.AccessTokenValidation icon indicating copy to clipboard operation
IdentityServer3.AccessTokenValidation copied to clipboard

Define multiple issuers in TokenValidationParameters

Open vytautasziurlis opened this issue 8 years ago • 0 comments

Hi,

We have a requirement to change URL of our existing IdSrv3 instance and do it without any outage. Playing around with url rewrites/proxies etc etc for many reasons seems too complicated. Instead I looked into UseIdentityServerBearerTokenAuthentication extension method and noticed that TokenValidationParameters does actually allow specifying more than one issuer and audience. This would be perfect in our case and would solve our problem very elegantly. However I also noticed that UseIdentityServerBearerTokenAuthentication does not allow to specify multiple issuers/audiences. Is there an easy way to specify multiple issuers/audiences using your middleware? Maybe I missed something obvious while looking through code. Thanks!

vytautasziurlis avatar Oct 23 '17 14:10 vytautasziurlis