Docuware REST API Integration - application/x-www-form-urlencoded custom body

Comments

7 comments

  • Tyler Lamparter Principal Product Manager
    Awesome Follow-up
    Engaged
    Top Contributor
    Answer Pro
    Celigo University Level 4: Legendary

    Kristyna Macha Sverakova did you get this working? Also, can you try using password credentials?

    0
  • Kristyna Macha Sverakova

    Hello Tyler Lamparter,

    the Password credentials was my first try, but this authentication method requires (beside the username and password) also client ID and client secret, which we don't have from Docuware. I will try to find out if we are able to obtain such detail.

    I will update the thread when we have some progress.

    0
  • Tyler Lamparter Principal Product Manager
    Awesome Follow-up
    Engaged
    Top Contributor
    Answer Pro
    Celigo University Level 4: Legendary

    Kristyna Macha Sverakova I didn't notice you didn't have a client secret so it makes sense to use the override like you did. Can you also try HTTP>auth type = token>enable refresh token> setup refresh token mechanism with this setup?

    0
  • Kristyna Macha Sverakova

    Hello Tyler Lamparter,

    I've just tried this and I know exactly what you mean. I got in a trouble, because the refresh token endpoint is only possible to set using the relative path within the same server/base URI. My token endpoint is completely out of application URI and I am not able to use the full endpoint definition for authentication request with this type of setup.

    On one side it makes sense that this type of connection consumes two connector licenses, on the other side it's not that much non-standard that authentication server is out of the application tenant itself and does not share the same host. So I still hope there is a way to have this set up. I will be in touch with your technical colleague from my area so I will update the thread if we figure this out as a reference for others running into a same trouble.

    0
  • Tyler Lamparter Principal Product Manager
    Awesome Follow-up
    Engaged
    Top Contributor
    Answer Pro
    Celigo University Level 4: Legendary

    Kristyna Macha Sverakova the "relative uri" path on the refresh token setup allows a full path even though the name of the field is "relative" and the text underneath shows the base uri. The help text and kb for that field mention the ability to use a full uri, but the field title definitely doesn't make it clear.

     

    Also not sure what you mean about this consuming multiple connection licenses.

    0
  • Kristyna Macha Sverakova

    Hello Tyler Lamparter, I confirm this approach worked. I will write down some summary for others who might run into a same issue and will post it here later today.

    0
  • Tim Park

    Thank you!!! Got it to work with the suggested approach by Tyler Lamparter but still would appreciate your summary for reference Kristyna Macha Sverakova.

    0

Please sign in to leave a comment.