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.

feita há 2 anos2334 visualizações
1 Resposta
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
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas