Skip to content

IdentityServer Options

easy edited this page Jan 25, 2022 · 1 revision

说明

IdentityServer支持的选项

启用

builder.Services.AddIdentityServer(o =>
     {
          //token中的issuer
          o.Issuer = "microsoft";
          //token验证选项
          o.TokenValidations.ValidateScope = true;
          o.TokenValidations.Scope = "api,openid";
     });

Clone this wiki locally