AWS cognito accessibility

0

Before signing in I want to check whether the aws cognito is accessible or down. Is there any API or way to get the proper response. I am using cognito with reactJS

Varshil
posta un mese fa220 visualizzazioni
1 Risposta
1

It's unlikely Cognito will be down. To see if the service is reachable, you should just make requests as normal or you can do a fetch on the openid endpoint for the service.

For Cognito user pools that is (replace <region> and <userPoolId>):

https://cognito-idp.<region>.amazonaws.com/<userPoolId>/.well-known/openid-configuration

For Cognito identity pools that is (replace <region>):

https://cognito-identity.<region>.amazonaws.com/.well-known/openid-configuration

There is no guarantee your requests will succeed after hitting these urls successfully however.

perpil
con risposta un mese fa
profile picture
ESPERTO
verificato un mese 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