NotAuthorizedException: Identity pool does not have identity providers configured. code example
Example: NotAuthorizedException: Identity pool does not have identity providers configured.
Create new Identity Pool and mention cognito as Authentication provider
Give User pool ID and App client ID of your USser pool