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.

posta 2 anni fa2333 visualizzazioni
1 Risposta
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
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande