Is it possible to get custom attributes on AWS Cognito sign up form?Why are Cognito custom attributes not received in LambdaCan I use cognito AccessToken get Cognito identity ID?aws service difference between cognito user pool and federated identityAWS Cognito ListUsers InvalidParameterException using AttributesToGet on custom attributesCognito User Pools - Is it possible to create a custom sign up/in form for Facebook login?How do you allow new user registration and sign up through a third party, like Facebook, using AWS Cognito?Implementing sign up with aws cognito in android without hostingCognito - error_description username attribute mappingCreating and filling in custom attributes in AWS Cognito Pools with SwiftAWS Cognito sign in with the AWS SDK for Unity

Why did other houses not demand this?

Is it normal to "extract a paper" from a master thesis?

Quantum corrections to geometry

Are cells guaranteed to get at least one mitochondrion when they divide?

Gravitational Force Between Numbers

How to create a `range`-like iterable object of floats?

What is the use case for non-breathable waterproof pants?

Time complexity of an algorithm: Is it important to state the base of the logarithm?

What did the 'turbo' button actually do?

Why did Drogon spare this character?

Flatten not working

Moons and messages

Are there historical examples of audiences drawn to a work that was "so bad it's good"?

Ribbon Cable Cross Talk - Is there a fix after the fact?

"Official wife" or "Formal wife"?

Why'd a rational buyer offer to buy with no conditions precedent?

How did the Allies achieve air superiority on Sicily?

How would a developer who mostly fixed bugs for years at a company call out their contributions in their CV?

Is keeping the forking link on a true fork necessary (Github/GPL)?

The disk image is 497GB smaller than the target device

Why is the Eisenstein ideal paper so great?

What could be my risk mitigation strategies if my client wants to contract UAT?

Was this scene in S8E06 added because of fan reactions to S8E04?

Complications of displaced core material?



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


Why are Cognito custom attributes not received in LambdaCan I use cognito AccessToken get Cognito identity ID?aws service difference between cognito user pool and federated identityAWS Cognito ListUsers InvalidParameterException using AttributesToGet on custom attributesCognito User Pools - Is it possible to create a custom sign up/in form for Facebook login?How do you allow new user registration and sign up through a third party, like Facebook, using AWS Cognito?Implementing sign up with aws cognito in android without hostingCognito - error_description username attribute mappingCreating and filling in custom attributes in AWS Cognito Pools with SwiftAWS Cognito sign in with the AWS SDK for Unity






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








2















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










share|improve this question
























  • Have you try the console cli ? docs.aws.amazon.com/cli/latest/reference/cognito-idp/…

    – bembas
    Mar 24 at 11:02






  • 1





    I'm making an Alexa Skill and using cognito for logging in. Not sure where should I use the console cli for cognito.

    – thedreamsaver
    Mar 24 at 18:53






  • 1





    @thedreamsaver I am currently going through the same issue right now.. Idk how to fix it, but I can definitely tell you that it has nothing to do with the console cli... Keeping my eye on this question as this will help me as well.

    – codeherk
    Mar 28 at 5:14






  • 1





    Before I add any more edits to the question @thedreamsaver , I would like to ask you: 1. Are you trying to implement Account Linking with Alexa Skill? 2. Are you using their given Authentication UI? (Reason why I ask is because the detailed edit I made got rejected.)

    – codeherk
    Mar 28 at 17:35












  • @codeherk 1. Yes I'm trying to implement Account Linking with Alexa Skill and I have added your edits to the question. 2. Yes I'm using their UI and need the custom attribute to show up in the sign up UI as well.

    – thedreamsaver
    Mar 31 at 19:40

















2















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










share|improve this question
























  • Have you try the console cli ? docs.aws.amazon.com/cli/latest/reference/cognito-idp/…

    – bembas
    Mar 24 at 11:02






  • 1





    I'm making an Alexa Skill and using cognito for logging in. Not sure where should I use the console cli for cognito.

    – thedreamsaver
    Mar 24 at 18:53






  • 1





    @thedreamsaver I am currently going through the same issue right now.. Idk how to fix it, but I can definitely tell you that it has nothing to do with the console cli... Keeping my eye on this question as this will help me as well.

    – codeherk
    Mar 28 at 5:14






  • 1





    Before I add any more edits to the question @thedreamsaver , I would like to ask you: 1. Are you trying to implement Account Linking with Alexa Skill? 2. Are you using their given Authentication UI? (Reason why I ask is because the detailed edit I made got rejected.)

    – codeherk
    Mar 28 at 17:35












  • @codeherk 1. Yes I'm trying to implement Account Linking with Alexa Skill and I have added your edits to the question. 2. Yes I'm using their UI and need the custom attribute to show up in the sign up UI as well.

    – thedreamsaver
    Mar 31 at 19:40













2












2








2


1






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










share|improve this question
















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







amazon-web-services oauth-2.0 aws-lambda amazon-cognito alexa-skill






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 31 at 19:39







thedreamsaver

















asked Mar 23 at 22:13









thedreamsaverthedreamsaver

359515




359515












  • Have you try the console cli ? docs.aws.amazon.com/cli/latest/reference/cognito-idp/…

    – bembas
    Mar 24 at 11:02






  • 1





    I'm making an Alexa Skill and using cognito for logging in. Not sure where should I use the console cli for cognito.

    – thedreamsaver
    Mar 24 at 18:53






  • 1





    @thedreamsaver I am currently going through the same issue right now.. Idk how to fix it, but I can definitely tell you that it has nothing to do with the console cli... Keeping my eye on this question as this will help me as well.

    – codeherk
    Mar 28 at 5:14






  • 1





    Before I add any more edits to the question @thedreamsaver , I would like to ask you: 1. Are you trying to implement Account Linking with Alexa Skill? 2. Are you using their given Authentication UI? (Reason why I ask is because the detailed edit I made got rejected.)

    – codeherk
    Mar 28 at 17:35












  • @codeherk 1. Yes I'm trying to implement Account Linking with Alexa Skill and I have added your edits to the question. 2. Yes I'm using their UI and need the custom attribute to show up in the sign up UI as well.

    – thedreamsaver
    Mar 31 at 19:40

















  • Have you try the console cli ? docs.aws.amazon.com/cli/latest/reference/cognito-idp/…

    – bembas
    Mar 24 at 11:02






  • 1





    I'm making an Alexa Skill and using cognito for logging in. Not sure where should I use the console cli for cognito.

    – thedreamsaver
    Mar 24 at 18:53






  • 1





    @thedreamsaver I am currently going through the same issue right now.. Idk how to fix it, but I can definitely tell you that it has nothing to do with the console cli... Keeping my eye on this question as this will help me as well.

    – codeherk
    Mar 28 at 5:14






  • 1





    Before I add any more edits to the question @thedreamsaver , I would like to ask you: 1. Are you trying to implement Account Linking with Alexa Skill? 2. Are you using their given Authentication UI? (Reason why I ask is because the detailed edit I made got rejected.)

    – codeherk
    Mar 28 at 17:35












  • @codeherk 1. Yes I'm trying to implement Account Linking with Alexa Skill and I have added your edits to the question. 2. Yes I'm using their UI and need the custom attribute to show up in the sign up UI as well.

    – thedreamsaver
    Mar 31 at 19:40
















Have you try the console cli ? docs.aws.amazon.com/cli/latest/reference/cognito-idp/…

– bembas
Mar 24 at 11:02





Have you try the console cli ? docs.aws.amazon.com/cli/latest/reference/cognito-idp/…

– bembas
Mar 24 at 11:02




1




1





I'm making an Alexa Skill and using cognito for logging in. Not sure where should I use the console cli for cognito.

– thedreamsaver
Mar 24 at 18:53





I'm making an Alexa Skill and using cognito for logging in. Not sure where should I use the console cli for cognito.

– thedreamsaver
Mar 24 at 18:53




1




1





@thedreamsaver I am currently going through the same issue right now.. Idk how to fix it, but I can definitely tell you that it has nothing to do with the console cli... Keeping my eye on this question as this will help me as well.

– codeherk
Mar 28 at 5:14





@thedreamsaver I am currently going through the same issue right now.. Idk how to fix it, but I can definitely tell you that it has nothing to do with the console cli... Keeping my eye on this question as this will help me as well.

– codeherk
Mar 28 at 5:14




1




1





Before I add any more edits to the question @thedreamsaver , I would like to ask you: 1. Are you trying to implement Account Linking with Alexa Skill? 2. Are you using their given Authentication UI? (Reason why I ask is because the detailed edit I made got rejected.)

– codeherk
Mar 28 at 17:35






Before I add any more edits to the question @thedreamsaver , I would like to ask you: 1. Are you trying to implement Account Linking with Alexa Skill? 2. Are you using their given Authentication UI? (Reason why I ask is because the detailed edit I made got rejected.)

– codeherk
Mar 28 at 17:35














@codeherk 1. Yes I'm trying to implement Account Linking with Alexa Skill and I have added your edits to the question. 2. Yes I'm using their UI and need the custom attribute to show up in the sign up UI as well.

– thedreamsaver
Mar 31 at 19:40





@codeherk 1. Yes I'm trying to implement Account Linking with Alexa Skill and I have added your edits to the question. 2. Yes I'm using their UI and need the custom attribute to show up in the sign up UI as well.

– thedreamsaver
Mar 31 at 19:40












1 Answer
1






active

oldest

votes


















0














If i am not mistaken you need to add custom:<YOUR_ATTRIBUTE_NAME>



var poolData = 
UserPoolId : <POOL_ID>,
ClientId : <CLIENT_ID>,
;
var userPool = new AWSCognito.CognitoUserPool(poolData);

var attributeList = [];

var dataEmail =
Name : 'email',
Value : 'email@mydomain.com'
;

var dataPhoneNumber =
Name : 'phone_number',
Value : '+15555555555'
;
var grandMaName =
Name : 'custom:grandMaName',
Value : 'granny'
;
var attributeEmail = new AWSCognito.CognitoUserAttribute(dataEmail);
var attributePhoneNumber = new AWSCognito.CognitoUserAttribute(dataPhoneNumber);
var attributeGrandMaName = new AWSCognito.CognitoUserAttribute(grandMaName);
attributeList.push(attributeEmail);
attributeList.push(attributePhoneNumber);
attributeList.push(grandMaName);

userPool.signUp(userData.Username, userData.Password, attributeList, null, function(err, result)
if (err)
console.log(err);
return;

cognitoUser = result.user;
console.log('user name is ' + cognitoUser.getUsername());
console.log('Now go to Cognito console and confirm the user.')
);





share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55318873%2fis-it-possible-to-get-custom-attributes-on-aws-cognito-sign-up-form%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    If i am not mistaken you need to add custom:<YOUR_ATTRIBUTE_NAME>



    var poolData = 
    UserPoolId : <POOL_ID>,
    ClientId : <CLIENT_ID>,
    ;
    var userPool = new AWSCognito.CognitoUserPool(poolData);

    var attributeList = [];

    var dataEmail =
    Name : 'email',
    Value : 'email@mydomain.com'
    ;

    var dataPhoneNumber =
    Name : 'phone_number',
    Value : '+15555555555'
    ;
    var grandMaName =
    Name : 'custom:grandMaName',
    Value : 'granny'
    ;
    var attributeEmail = new AWSCognito.CognitoUserAttribute(dataEmail);
    var attributePhoneNumber = new AWSCognito.CognitoUserAttribute(dataPhoneNumber);
    var attributeGrandMaName = new AWSCognito.CognitoUserAttribute(grandMaName);
    attributeList.push(attributeEmail);
    attributeList.push(attributePhoneNumber);
    attributeList.push(grandMaName);

    userPool.signUp(userData.Username, userData.Password, attributeList, null, function(err, result)
    if (err)
    console.log(err);
    return;

    cognitoUser = result.user;
    console.log('user name is ' + cognitoUser.getUsername());
    console.log('Now go to Cognito console and confirm the user.')
    );





    share|improve this answer



























      0














      If i am not mistaken you need to add custom:<YOUR_ATTRIBUTE_NAME>



      var poolData = 
      UserPoolId : <POOL_ID>,
      ClientId : <CLIENT_ID>,
      ;
      var userPool = new AWSCognito.CognitoUserPool(poolData);

      var attributeList = [];

      var dataEmail =
      Name : 'email',
      Value : 'email@mydomain.com'
      ;

      var dataPhoneNumber =
      Name : 'phone_number',
      Value : '+15555555555'
      ;
      var grandMaName =
      Name : 'custom:grandMaName',
      Value : 'granny'
      ;
      var attributeEmail = new AWSCognito.CognitoUserAttribute(dataEmail);
      var attributePhoneNumber = new AWSCognito.CognitoUserAttribute(dataPhoneNumber);
      var attributeGrandMaName = new AWSCognito.CognitoUserAttribute(grandMaName);
      attributeList.push(attributeEmail);
      attributeList.push(attributePhoneNumber);
      attributeList.push(grandMaName);

      userPool.signUp(userData.Username, userData.Password, attributeList, null, function(err, result)
      if (err)
      console.log(err);
      return;

      cognitoUser = result.user;
      console.log('user name is ' + cognitoUser.getUsername());
      console.log('Now go to Cognito console and confirm the user.')
      );





      share|improve this answer

























        0












        0








        0







        If i am not mistaken you need to add custom:<YOUR_ATTRIBUTE_NAME>



        var poolData = 
        UserPoolId : <POOL_ID>,
        ClientId : <CLIENT_ID>,
        ;
        var userPool = new AWSCognito.CognitoUserPool(poolData);

        var attributeList = [];

        var dataEmail =
        Name : 'email',
        Value : 'email@mydomain.com'
        ;

        var dataPhoneNumber =
        Name : 'phone_number',
        Value : '+15555555555'
        ;
        var grandMaName =
        Name : 'custom:grandMaName',
        Value : 'granny'
        ;
        var attributeEmail = new AWSCognito.CognitoUserAttribute(dataEmail);
        var attributePhoneNumber = new AWSCognito.CognitoUserAttribute(dataPhoneNumber);
        var attributeGrandMaName = new AWSCognito.CognitoUserAttribute(grandMaName);
        attributeList.push(attributeEmail);
        attributeList.push(attributePhoneNumber);
        attributeList.push(grandMaName);

        userPool.signUp(userData.Username, userData.Password, attributeList, null, function(err, result)
        if (err)
        console.log(err);
        return;

        cognitoUser = result.user;
        console.log('user name is ' + cognitoUser.getUsername());
        console.log('Now go to Cognito console and confirm the user.')
        );





        share|improve this answer













        If i am not mistaken you need to add custom:<YOUR_ATTRIBUTE_NAME>



        var poolData = 
        UserPoolId : <POOL_ID>,
        ClientId : <CLIENT_ID>,
        ;
        var userPool = new AWSCognito.CognitoUserPool(poolData);

        var attributeList = [];

        var dataEmail =
        Name : 'email',
        Value : 'email@mydomain.com'
        ;

        var dataPhoneNumber =
        Name : 'phone_number',
        Value : '+15555555555'
        ;
        var grandMaName =
        Name : 'custom:grandMaName',
        Value : 'granny'
        ;
        var attributeEmail = new AWSCognito.CognitoUserAttribute(dataEmail);
        var attributePhoneNumber = new AWSCognito.CognitoUserAttribute(dataPhoneNumber);
        var attributeGrandMaName = new AWSCognito.CognitoUserAttribute(grandMaName);
        attributeList.push(attributeEmail);
        attributeList.push(attributePhoneNumber);
        attributeList.push(grandMaName);

        userPool.signUp(userData.Username, userData.Password, attributeList, null, function(err, result)
        if (err)
        console.log(err);
        return;

        cognitoUser = result.user;
        console.log('user name is ' + cognitoUser.getUsername());
        console.log('Now go to Cognito console and confirm the user.')
        );






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 25 at 9:01









        Dawid K.Dawid K.

        1327




        1327





























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55318873%2fis-it-possible-to-get-custom-attributes-on-aws-cognito-sign-up-form%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

            Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

            Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript