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年前

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

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

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

関連するコンテンツ