AWS re:Post Knowledge Center Feedback Survey
Help us improve the AWS re:Post Knowledge Center by sharing your feedback in a brief survey. Your input can influence how we create and update our content to better support your AWS journey.
【以下的问题经过翻译处理】 当客户使用外部IdP进行注册时,我想要访问pre-sign-up触发器函数中的sub属性。这个功能未来是否可能实现?
sub
应用程序的授权层在后端处理,因此我需要在注册过程中将用户插入到数据库中。
相关主题:https://forums.aws.amazon.com/thread.jspa?threadID=309346
【以下的回答经过翻译处理】 你好,
在 pre-signup 触发器中,SUB 无法使用,因为此时用户尚未创建(这是“pre”注册过程,目的是校验并确定是否允许注册继续或拒绝请求)。如果你想要将 SUB 传播到后端,你应该使用 PostConfirmation 触发器,这个是在用户已经被创建并确认之后触发。
로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.
좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.