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
gefragt vor 4 Monaten145 Aufrufe
1 Antwort
1
Akzeptierte Antwort

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.

beantwortet vor 3 Monaten
profile picture
EXPERTE
überprüft vor einem Monat

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen