需要对Azure AD B2C Webapp集成的支持 [英] Need support for Azure AD B2C webapp integration

查看:67
本文介绍了需要对Azure AD B2C Webapp集成的支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Azure AD B2C的新手. 我正在尝试使用Azure AD B2C对Java Web应用程序进行身份验证,但是似乎没有任何指南或Java代码示例可以提供帮助.

I am new to Azure AD B2C. I am trying to use Azure AD B2C for authentication with a Java web application, but there does not seem to be any guides or Java code samples to help.

任何人都可以提供一些有助于解释如何与Java客户端集成的基本代码示例的帮助吗?

Can anyone help with some basic code samples that could help explain how to integrate with a Java client?

推荐答案

当前没有Java Azure AD B2C Web应用程序示例.我已经编写了 Azure AD v2.0 Java Web App示例.此应用程序与Azure AD B2C有点不同,但是代码非常相似.

There isn't currently a Java Azure AD B2C web app sample. I have written a Azure AD v2.0 Java Web App Sample. This app is a bit different than Azure AD B2C, but the code will be extremely similar.

我建议您查看 Azure AD B2C开发人员指南,可帮助您配置租户&应用程序,然后使用上面的示例代码并更改Azure AD B2C的配置.基本了解之后,您可以使用发现端点来识别Web应用程序所需的特定配置.

I recommend checking out the Azure AD B2C developer guide for help configuring a tenant & app, then use the sample code above and change the configurations for that of Azure AD B2C. After getting a basic understanding, you can use discovery endpoint to identify the specific configs your web app will need.

您可以使用发现URL找到Azure AD B2C终结点:

You can find the Azure AD B2C endpoints using the discovery url:

https://login.microsoftonline.com/tfp/fabrikamb2c.onmicrosoft.com/b2c_1_sign_in/v2.0/.well-known/openid-configuration

其中fabrikamb2c.onmicrosoft.com是租户的名称,b2c_1_sign_in是您的Azure AD B2C策略.

Where fabrikamb2c.onmicrosoft.com is the name of your tenant and b2c_1_sign_in is your Azure AD B2C policy.

有关这意味着什么的更多信息,我建议阅读 Azure AD B2C协议&令牌参考.

For more info on what this means, I recommend reading the Azure AD B2C Protocol & Token Reference.

这篇关于需要对Azure AD B2C Webapp集成的支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆