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
feita há 2 meses220 visualizações
1 Resposta
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 há um mês
profile picture
ESPECIALISTA
avaliado há um mês

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