有没有办法克隆B2C用户流?
我们正在将AD B2C作为SSO实现,并且必须在测试过程中浏览多个版本的用户流。它们将用于不同的环境,有些将其用于测试,因此我们将无法简单地更改现有版本。我们想为我们的签名建立一个基本流程,并且我们的多个注册将作为起点,然后在创建新版本时可以克隆。有什么方法可以直接或下载/上传到新流程中克隆现有的用户流程?我知道我们可以对自定义策略做类似的事情,但是我们决定坚持使用用户流。
谢谢!
We're in the process of implementing AD B2C as our sso and will have to go through multiple versions of user flows during testing. They will be used for different environments and some in parallel in testing so we won't be able simply change existing versions. We'd like to establish a base flow for our sign in and our multiple sign ups as starting points that we could then clone when we create a new version. Is there any way to clone an existing User Flow either directly or by download/upload to a new flow? I know we could do something similar with custom policies but we've made the decision to stick with user flows.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
用户流无法克隆为用户流,但是您可以下载其源代码,并以自定义策略。用户流动无论如何都是自定义策略。您可以从
您可以使用以下API调用选择将基本策略代码附加到用户流码。 请记住,此API不公开支持,只提供为:
获取https://main.b2cadmin.ext.azure.com/api/trustframework/getasxml?sendasAttachment = true = true& ;
.NET/USER_IMPERSONATION
让我知道您是否需要其他帮助!
User flows cannot be cloned as user flows, but you can download their source code and clone them as custom policies. User flows are custom policies anyways. You can download their source code from the Azure Portal as shown in the following picture.
You can opt to append the base policies code to the user flow code using the following API call. Please keep in mind this API is not publicly supported and only provided AS IS:
GET https://main.b2cadmin.ext.azure.com/api/trustframework/GetAsXml?sendAsAttachment=true&tenantId=<TENANT NAME>.onmicrosoft.com&policyId=<USER FLOW ID>&getBasePolicies=true
You will need an access token for scope
https://management.core.windows.net/user_impersonation
Let me know if you need additional help!