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
feita há 4 meses154 visualizações
1 Resposta
2
Resposta aceita

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.

respondido há 4 meses
profile picture
ESPECIALISTA
avaliado há 2 dias
profile picture
ESPECIALISTA
avaliado há 2 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas