IAM

Expand all | Collapse all

Knowledge question issue in implementation

  • 1.  Knowledge question issue in implementation

    Posted 01-11-2019 02:23 AM
    Edited by Pang Dela Cruz 01-11-2019 02:29 AM
    We are trying to implement Knowledge Question in AAC and we are having issue in several factors:

    1. How to create/get predetermined questions?
    2. We tried to allow user to provide the questions but our next issue is we are unable to retrieve ramdom questions, it is always giving us the 1st question. (mechanism are configured as default)

    Replicate:
    Authorization: Basic XXXXXX
    Accept: application/json
    Content-Type: application/json
     
    Body:
    {
      "questions" : [
                   {
                     "id": "1",
                    "answer"  : "chance",
                    "question"   : "What is your pet's name?"
                   },
                    {
                            "id": "2",
                    "answer"  : "pang",
                    "question"   : "What is your nickname?"
                   }
                  ]
    }

    2. Get question:
    Authorization: Basic XXXXX
    Accept: application/json
    Content-Type: application/json
     
    Sample response:  
    {
        "questions": [
            {
                "id": "1",
                "answer": "**********",
                "question": "What is your pet's name?"
            }
        ]
    }
    even if we test it in the default Authentication policy for Knowledge Question with multiple request, we are always getting the 1st question.


    Any comment on this @Jon Harry
    Thank you

    ​​

    ------------------------------
    Pang
    ------------------------------


  • 2.  RE: Knowledge question issue in implementation

    Posted 01-12-2019 05:11 AM
    Hi, Since this is just using the native authentication mechanisms and REST APIs available for Knowledge Questions. I guess there should be others getting this issue? At least 9.0.5 has this issue. Anyone who can shed light to this? Or at least encountered it but found a workaround?

    ------------------------------
    Pierre Passin
    ------------------------------