英文:
B2C Identity Experience Framework is taking a lot of time to reflect changes for Custom policy
问题
最近,在身份体验框架中,成功上传策略后,更改没有立即反映出来。
发生了什么变化?
我们能否检查一下,正在使用哪个版本/时间戳的TrustFrameworkExtensions策略,或者类似的情况?
目前我唯一能够检查加载了哪个版本的方法是将一个虚拟参数设置为默认值(并逐次递增),然后在selfAssertion中使用它(用于显示目的)。
但这为我提供了不同版本(在self assert中的虚拟参数),这让事情更加混乱。
谢谢,
Shridhar
附言:
- 更改会在等待5-10分钟后反映出来。
- 我以为是浏览器缓存了响应。但后来我打开了开发者工具并禁用了缓存。它仍然不起作用。
英文:
Lately, in the Identity Experience Framework, after uploading the policies successfully, the changes are not getting reflected immediately.
Has something changed?
Can we check somewhere, which version/timestamp of TrustFrameworkExtensions policy is getting used or something on similar line?
Currently the only way I can check which version is getting loaded is by setting a default value to a dummy parameter (and incrementing it each time) and using it in selfAssertion(for display purpose).
But this is serving me different versions (of dummy parameter in self assert), which is even more confusing.
Thanks,
Shridhar
PS:
- Changes are reflected after wait of 5-10 mins.
- I thought it was my browser caching the response. But then I opened developer tools and disabled my cache. It still did not work.
答案1
得分: 1
是的,这是一个已知的问题。
我相信微软已将策略缓存更改为15分钟。
英文:
Yes - this is a known problem.
I believe Microsoft changed the policy caching to 15 minutes.
答案2
得分: 0
Microsoft已记录,自定义策略的缓存默认延迟最长可达30分钟。这在最佳实践中有记录。
“Azure AD B2C依赖缓存以提供性能给您的终端用户。无论您使用何种方法部署自定义策略,都应预计用户需要最多30分钟才能看到更改。”
https://learn.microsoft.com/en-us/azure/active-directory-b2c/best-practices#operations
英文:
Microsoft has documented that the caching default delay is up to 30 minutes for the custom policies. This is documented in the best practices.
"Azure AD B2C relies on caching to deliver performance to your end users. When you deploy a custom policy using whatever method, expect a delay of up to 30 minutes for your users to see the changes."
https://learn.microsoft.com/en-us/azure/active-directory-b2c/best-practices#operations
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论