小编use*_*370的帖子

如何在Windows 10开发PC上的IIS 10.0中启用失败的请求跟踪?

如何在Windows 10开发者PC上启用IIS 10.0中的失败请求跟踪?

我可以找到IIS7和IIS8.5的说明(参见http://www.iis.net/learn/troubleshoot/using-failed-request-tracing/troubleshooting-failed-requests-using-tracing-in-iis-85)但似乎在IIS10中不可用.

根据上述说明,"操作"窗格中的"配置"下应该有一个"失败的请求跟踪"链接 - 但是在屏幕截图中看到它显然不存在: IIS操作窗格的屏幕截图

trace iis-10

23
推荐指数
3
解决办法
2万
查看次数

在IdentityServer4中的隐式流中设置访问令牌到期的正确方法是什么?

我试图将我的隐式客户端的AccessTokenLifetime属性设置为90秒.客户端是一个JavaScript应用程序.

但是,在令牌过期后,客户端仍然可以在大约5分钟内访问api范围"api1".

这是IdentityServer4中客户端配置的代码:

// JavaScript Client
            new Client
            {
                ClientId = "js",
                ClientName = "JavaScript Client",
                AllowedGrantTypes = GrantTypes.Implicit,
                AllowAccessTokensViaBrowser = true,

                RedirectUris = { "http://localhost:5003/callback.html" },
                PostLogoutRedirectUris = { "http://localhost:5003/index.html" },
                AllowedCorsOrigins = { "http://localhost:5003" },

                AllowedScopes =
                {
                    IdentityServerConstants.StandardScopes.OpenId,
                    IdentityServerConstants.StandardScopes.Profile,
                    "api1"
                },
                AccessTokenLifetime = 90
            }
Run Code Online (Sandbox Code Playgroud)

我正在使用来自IdentityServer github repo的Javascript快速入门解决方案https://github.com/IdentityServer/IdentityServer4.Samples/tree/release/Quickstarts/7_JavaScriptClient

identityserver4

5
推荐指数
1
解决办法
947
查看次数

标签 统计

identityserver4 ×1

iis-10 ×1

trace ×1