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
preguntada hace 2 meses220 visualizaciones
1 Respuesta
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
respondido hace un mes
profile picture
EXPERTO
revisado hace un mes

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas