Missing Role on AWS kibana login

I am using Open Distro for Elasticsearch offered by AWS with Amazon Cognito authentication enabled. When I try to login to the Kibana dashboard I get the Cognito SSO option and I am able to reach the Kibana dashboard on reaching Kibana dashboard I get redirected to page saying

Missing Role
No roles available for this user, please contact your system administrator.

What could be the issue here? Is there a role in Kibana that has to be set as default through some API or is there something else that I might be missing.