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
asked 3 months ago138 views
1 Answer
1
Accepted Answer

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.

answered 3 months 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