Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-2363

Development tool session:impersonate accessible via api

    XMLWordPrintable

Details

    • High
    • Hide
      Enables an API user to authenticate in a name of different user. This feature is only available via translate5 API and for users with api role. More info you can find here : https://confluence.translate5.net/display/TAD/Session
      Show
      Enables an API user to authenticate in a name of different user. This feature is only available via translate5 API and for users with api role. More info you can find here : https://confluence.translate5.net/display/TAD/Session

    Description

      other systems need to authenticate via single sign on with oAuth 2.0, analog to users do with OpenId Connect.

      Make the session impersonate development functionality accessible via api.

      The use case will be the following:

      1. authenticate via api with user with admin roles
      2. call editor/session/impersonate?login='new_login'
      where the 'login' param is the login of the user which we want to login as.
      This will replace the admin user session with the 'new_login' user.
      3. now you are authenticated as 'new_login' and you can do stuff in transalte5 in the name of 'new_login'

      Attachments

        Activity

          People

            aleksandar Aleksandar Mitrev
            marcmittag Marc Mittag [Administrator]
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: