“Unsupported callback server error” in am custom node

This topic has 5 replies, 2 voices, and was last updated 1 month, 1 week ago by Jatinder Singh.

  • Author
    Posts
  • #27956
     jeyasree
    Participant

    when i access my custom node with custom callback from node app , i am getting {“code”:500,”reason”:”Internal Server Error”,”message”:”Unsupported Callback, Object”}

    #27959
     Jatinder Singh
    Participant

    It shows your response callback deserialization failed, and it’s perhaps because of the absence of a custom RestAuthCallbackHandler for your custom callback. I am not too certain, but a custom callback may not be supported unless it also defines its corresponding handler, which may involve changing one of the core libraries. Please look at the below link for supported callbacks:

    https://backstage.forgerock.com/docs/am/6.5/authentication-guide/#supported-callbacks

    #27970
     jeyasree
    Participant

    Is ter any sample available ?

    #27974
     Jatinder Singh
    Participant

    I am not aware of any such sample.

    If I may ask – what is the reason behind your custom callback? The callbacks available by default provide coverage for most scenarios.

    #27976
     jeyasree
    Participant

    I want to use callback for field eg: username with Prompt,Datatype,Hint…Is ter any suitable callback available to store these 3 properties for variable?

    #27984
     Jatinder Singh
    Participant

    You want to store 3 properties in a single field? If yes, how would this even look in a rendered HTML?

    I would suggest to break it down into different fields. For example, a NameCallback to store Username field, a ChoiceCallback for a user to select a Datatype and so on.

    Hope this helps!

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

©2020 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?