[英]Azure Active Directory B2C registration
Can I create a registration form in my application and connect this form to AAD B2C?我可以在我的应用程序中创建一个注册表并将此表单连接到 AAD B2C 吗? I develop in C #, React.
我在 C # 中开发,React。
You can choose between several OAuth 2.0 flows inside B2C that feats your needs.您可以在 B2C 中满足您需求的多个 OAuth 2.0 流之间进行选择。 I recommend you to create an Authcode Flow inside B2C to render your signIn SignUp form.
我建议您在 B2C 中创建一个Authcode Flow来呈现您的登录注册表单。 You can start learning how to do it with the custom policies starter pack here
您可以在此处开始学习如何使用自定义策略启动包
Use in your browser this URL to start working with authentication form over B2C to get an access code then call with a POST to the token endpoint:在您的浏览器中使用此 URL 开始使用 B2C 上的身份验证表单以获取访问代码,然后使用 POST 调用令牌端点:
https://{tenant}.b2clogin.com/{tenant}.onmicrosoft.com/{policy}/oauth2/v2.0/authorize?
client_id=90c0fe63-bcf2-44d5-8fb7-b8bbc0b29dc6
&response_type=code
&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob
&response_mode=query
&scope=90c0fe63-bcf2-44d5-8fb7-b8bbc0b29dc6%20offline_access
&state=arbitrary_data_you_can_receive_in_the_response
&code_challenge=YTFjNjI1OWYzMzA3MTI4ZDY2Njg5M2RkNmVjNDE5YmEyZGRhOGYyM2IzNjdmZWFhMTQ1ODg3NDcxY2Nl
&code_challenge_method=S256
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.