Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

328
Visualizações
AWS Cognito remove required attribute

I created a Cognito User Pool and used the Federated login ( to Facebook )

However when the application goes into testing I foundout that lots of Facebook user do not have "email" which cause the whole login process to fail!

Worse than that, I found out that it is not possible to remove "required attribute" after user pool creation

Also there is no way to easily migate user from one pool to another ( I am exclusively using fedarated login, so no password needed however )

Have anyone get into the same issue and came up with a solution?

over 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

As far as I know An attribute cannot be switched between required and not required after a user pool has been created.

I suggest you:

  • Wanna keep current Userpool -> Create a lambda function, then you can add the required attribute at the pre-sign-up step.

  • If all user is from Facebook -> Create a new Userpool then export, and import user again. I think no problem in this case because Facebook AppID is same

over 4 years ago · Santiago Trujillo Relatório

0

If your attribute is required, the cognito signup call will fail because of the required attribute. I'm pretty certain it won't even call out to your presignup trigger. That's been my experience at least.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda