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
asked a month ago209 views
1 Answer
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
answered a month ago
profile picture
EXPERT
reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions