I would like to know is it possible to create user in database after user sign up in Azure B2C user flow.
我想知道在Azure B2C用户流中注册用户后,是否可以在数据库中创建用户。
What I mean is forward data from B2C sign up form to my backend API.
我的意思是将数据从B2C注册表单转发到我的后端API。
In Azure B2C, I see it is possible to get a token claim "newUser" with boolean value. Depending on this value I would send POST request to the API. Is it correct approach?
在Azure B2C中,我看到有可能获得一个布尔值的令牌声明“newUser”。根据该值,我将向API发送POST请求。这是正确的做法吗?
更多回答
优秀答案推荐
Yes, if "newUser" is set, call the API to write the user to the DB.
可以,如果设置了newUser,则调用接口将用户写入数据库。
更多回答
我是一名优秀的程序员,十分优秀!