[7.4.4] setGivenAuthUser and setGivenAuthUser not working on serverd

Home Forums Convertigo developers Forums as moved to Stack Overflow. [7.4.4] setGivenAuthUser and setGivenAuthUser not working on serverd

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #164076

    perrinjb
    Participant

    Hi team,

    I want to set authentification “on the fly” on http request.
    I see in an another post, what I need to use these functions :

    
    // Handles the transaction start event.
    function onTransactionStarted() {
        context.connector.setGivenAuthUser(trUser);
        context.connector.setGivenAuthPassword(trPassword);
    }
    

    It’s working on the studio but not on the server.

    Could you help me on this problem ?

    Thanks,

    Regards,

    • This topic was modified 4 years, 4 months ago by perrinjb.
    #164080

    Gregory Vorbe
    Moderator

    Hello JB,

    Change the ‘HTTP Pool’ transaction property from “global” to “context”.
    This should allow to change credentials dynamically for user contexts in Server mode.

    QA&Support

    #164081

    perrinjb
    Participant

    Hello Grégory,

    No change with the ‘HTTP pool’ property set to ‘context’.

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

You must be logged in to reply to this topic.