kuk*_*kuz 5 spring amazon-web-services spring-boot aws-java-sdk aws-cognito
我们正在运行一个基于Spring的项目,其中Cognito作为标识服务。
我们有一个项目要求,为Cognito用户池中的用户自定义验证电子邮件和邀请电子邮件。(请参阅here for the AWS doc)
默认验证消息:
您的验证码为{####}。
默认邀请消息:
您的用户名是{username},临时密码是{####}。
我们希望包括email,phone_number和name用户属性为这些电子邮件。是否有可能做到这一点?我搜索文档无济于事-确实需要一些建议。
小智 1
更新:我认为正确的方法是使用Custom MessageCognito Lambda触发器(需要实现一个函数)。然后你就可以访问所有的userAttributes.
文档:https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-custom-message.html
| 归档时间: |
|
| 查看次数: |
492 次 |
| 最近记录: |