Custom User Authentication through SOAP Call from Cognito

0

Hi All, I am trying to build a solution for a customer and the requirement is to authenticate the user using their LoginService (Legacy SOAP Call) from Cognito. The flow looks like this UI-->Cognito-->SOAP Call-->Cognito--UI. Any suggestions on this implementation?

AWS
質問済み 2年前270ビュー
1回答
0

You can use a Pre authentication Lambda trigger. Now within your Lambda function you can make a call to your SOAP service (provided it has connectivity and has access) and receive the response (authenticate). For Pre authentication response parameters, Amazon Cognito does not expect any additional return information in the response. Your function can return an error to reject the sign-in attempt, or use API operations to query and modify your resources. Once authenticate Cognito can return response to your UI.

AWS
エキスパート
Parnab
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ