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
posta 4 mesi fa145 visualizzazioni
1 Risposta
1
Risposta accettata

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.

con risposta 3 mesi fa
profile picture
ESPERTO
verificato un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande