边缘访问Cookie即将到期 [英] Edge access cookie expiring
问题描述
SharePoint 2016边缘访问cookie有时在10分钟之后或有时在20分钟之后随机到期.
The SharePoint 2016 edge access cookie is expiring randomly sometimes after 10 min or sometimes after 20 min.
请求被重定向到身份验证服务器,然后在浏览器控制台中记录以下错误:
The request is redirected to the authentication server and then we get following error logeed in browser console:
对预检请求的响应未通过访问控制检查:所请求的资源上没有'Access-Control-Allow-Origin'标头.
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
我们已允许在SP应用程序中使用CORS,但不允许在身份验证api中使用.
We have allowed CORS in SP application but not in authetication api.
以下是SP安全令牌配置的详细信息:
Following is the SP security token config detail:
推荐答案
您的IdentityTokenLifetime设置为在20分钟后过期.
Your IdentityTokenLifetime is set to expire after 20 mins.
在下面查看这篇文章,看看是否对您的问题有所帮助.
Check this post below and see if it helps out with your issue.
这篇关于边缘访问Cookie即将到期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!