REST API for authentication with Cognito User Pool

0

Is there a REST API to authenticate with a Cognito User Pool - equivalent to what is described here via javascript etc.

1개 답변
1

Amazon Cognito provides InitiateAuth API which you can use for a client-side authentication flow like the example provided in the link you noted. However, please note that you can't sign in a user with a federated IdP with InitiateAuth. If you are looking to do a server-side authentication flow, take a look at AdminInitiateAuth. For further details, please take a look at Cognito authentication/user pool authentication flow documentation. An AWS CLI command example for InitiateAuth can be found here.

AWS
Taka_M
답변함 2년 전

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

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

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

관련 콘텐츠