Use slack as Identity provider in Aws cognito pool

0

I want to use Slack as an Identity provider in the cognito pool for authenticating users in my application. I am trying with OIDC provider type but I am getting this error. https://repost.aws/questions/QURPfjsVRNT8GkkbLeCqJ6dw/aws-cognito-not-working-for-google-sign-in-says-the-value-of-attribute-is-an-empty-list-which-is-not-allowed

There is no documentation on using Slack with cognito. Can someone guide me on how to make this work?

Slack Side documentation followed: https://api.slack.com/authentication/sign-in-with-slack#discover

OpenIDConnect attribute
emailemail
usernamesub
已提问 4 个月前154 查看次数
1 回答
2
已接受的回答

Update

I was getting this error because Slack was not sending the email attribute as required in attribute mapping. When I changed the email attribute to userName as the primary attribute, I got the user authenticated in Cognito.

It looks to be an issue from the Slack side rather than the cognito side.

已回答 4 个月前
profile picture
专家
已审核 2 天前
profile picture
专家
已审核 2 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则