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
demandé il y a 2 ans270 vues
1 réponse
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
EXPERT
Parnab
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions