amazon-web-servicesoauth-2.0aws-lambdaamazon-cognitoalexa-skills-kit

Is it possible to get custom attributes on AWS Cognito sign up form?


I am building an Alexa Skill that will implement Account Linking. When a user uses my skill, they would have to use the Alexa App to sign-in.

The Authentication UI is set up and managed by Amazon Cognito so that I don’t have to host my own sign-in and sign-up UI for my Alexa application.

My User Pool in Cognito has two standard and one custom attribute.

The sign-up form (hosted by Cognito) includes text-fields for the standard attributes, but not for the custom attributes. I want text-fields for all attributes (standard and custom). I couldn't find any documentation that shows how to allow this. How do I do it?

I have two standard and one custom attributes. I need all of them from user.

But the sign up form is not showing the input field for custom attribute


Solution

  • I was interested too, but i think is not possible using the Login Web Page hosted by Amazon cognito. I've found this information on Amazon Cognito guide: https://docs.aws.amazon.com/en_us/cognito/latest/developerguide/cognito-user-pools-app-integration.html

    At the end of this document i've found:

    Note

    The Amazon Cognito hosted sign-in web page does not support the custom authentication flow.