在b2c中的用户注册时触发azure功能 [英] Trigger azure function on user registration in b2c

查看:30
本文介绍了在b2c中的用户注册时触发azure功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当用户在我的Azure AD B2C中注册时,我想触发一个功能.但是我找不到任何例子.是将用户添加到任何队列还是存储在任何表中?还是当用户单击我的应用程序中的注册"按钮时,我是否需要回头查看响应?

I want to trigger a function when a user registers in my azure AD B2C. But I can't find any examples on this. Is the user added to any queue or stored in any table? Or do I need to look at the respons back when the user clicks the "register" button in my app?

我遵循了这个

I followed this guide to create my B2C. What I want is to eg. send a welcome mail.

推荐答案

Azure AD B2C不通过其内置策略支持自定义电子邮件事件或自定义触发器.

Azure AD B2C does not have any support for custom emails events or custom triggers through its built-in policies.

但是,您可以使用Azure AD B2C 自定义策略调出REST API ,该API将发送电子邮件作为身份验证流程的一部分.您可以使用 Http触发的方法轻松实现此REST API.Azure功能.

However, you can use Azure AD B2C custom policies to call out to a REST API that sends an email as part of the authentication flow. You can easily implement this REST API using an Http Triggered Azure Function.

在示例 SendMailWebHook函数.

您还可以在 Azure AD B2C反馈论坛

这篇关于在b2c中的用户注册时触发azure功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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