Skip to content

Instantly share code, notes, and snippets.

@RyanHill-MSFT
Last active August 28, 2020 19:31
Show Gist options
  • Save RyanHill-MSFT/1003ffbe8bf76de42babbdbd7ff49f73 to your computer and use it in GitHub Desktop.
Save RyanHill-MSFT/1003ffbe8bf76de42babbdbd7ff49f73 to your computer and use it in GitHub Desktop.
services.AddIdentityServer(options => options.IssuerUri = "your expected issuer uri");
// ensure the issuer matches in the JWT bearer token
services.Configure<JwtBearerOptions>("YourProjectNameAPI",
options => options.TokenValidationOptions.ValidIssuer = "your expected issuer uri");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment