Session-Cookie Authentication in REST Connector

  • 4 years, 8 months ago #23625

    Hi Simplifier Community,

    is it possible to do a authentication in Simplifier´s Rest Connector with a Session Cookie?

    On Session-Cookie based authentication only the first Rest-Request is done with username password. In this first request the Rest-Server answers with a Session-Cookie which contains a session key. On the following request I will only authenticate with this cookie without the credentials.

    I think it is similar to Token or SAP Logon Ticket Authentication.

    Thanks for your help.

    Chris Bouveret
    Keymaster
      Has successfully completed the online course Introduction
      Has successfully completed the online course Intermediate (200)
      Has successfully completed the online course Advanced (300)
      Has successfully completed the online course Basics (100)
      Has successfully completed the online course Advanced (320)
      Has successfully completed the Intermediate Certification
      Has successfully completed the Advanced Certification
    4 years, 8 months ago #23626
    Up
    0
    Down
    ::

    Hi there,

    this can be done using a Business Object following these Steps:

    – Call the Auth Request which has the Cookie result
    – Save the Cookie Result in User attributes (Simplifier.User API) or use the result to call the following request

    My sugesstion would be to save the Cookie in the user’s attributes, if you have a named user login or SSO.
    When using a technical User, you can just request a new cookie each time the Business Object is called.

    Hope that helps

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

You must be logged in to reply to this topic.