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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠