可以使用 Azure AD B2C 验证用户的凭据,并与外部 API 集成吗?

huangapple go评论60阅读模式
英文:

Is possible for azure ad b2c validate user's credentials with an external api?

问题

在我的工作中,我们需要创建一个OpenID Connect提供程序,以与另一个Azure AD B2C实例(oidc身份提供程序)进行集成。

挑战在于oidcp必须通过API与本地系统进行集成,以获取或验证用户的凭据(公司不希望将用户迁移到B2C)。

Azure AD B2C自定义策略是否可以实现这一目标?

可以使用 Azure AD B2C 验证用户的凭据,并与外部 API 集成吗?

另一个解决方案可以是使用Microsoft Graph将用户复制到Azure AD B2C并同步密码,但在这家公司中可能更繁琐。

英文:

In my work we have the need to create an OpenId Connect Provider to integrate to another Azure AD B2C Instance (oidc identity provider).

The challenge is the oidcp must integrate with the onpremise system via API to get or validate the user's credentials. (The company doesn't want to migrate users to B2C).

It is possible with Azure AD B2C Custom Policies?

可以使用 Azure AD B2C 验证用户的凭据,并与外部 API 集成吗?

Another solution can be replicate users to Azure AD B2C using Microsoft Graph and synchronise passwords, but it's more bureaucratic in this company.

答案1

得分: 1

Yes, you can use REST API.

There's a sample here.

英文:

Yes, you can use REST API.

There's a sample here.

huangapple
  • 本文由 发表于 2023年4月4日 04:08:39
  • 转载请务必保留本文链接:https://go.coder-hub.com/75923396.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定