Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  REST API call to Bridge

    Posted 06-05-2025 19:19

    Troy | 2018-07-25 06:18:27 UTC | #1

    We are trying to use the POST https://apps.{{environment}}/bridge/api/v1/actionCall/YOURACTIONNAME_HERE to invoke the Bridge action as per direction stated elsewhere on the forum.

    This worked ok using Code Authorization, however when we try to use Client Credentials we are getting 'please authenticate'. Does this action not work with Client Credentials Grant?


    Jason_Mathison | 2018-07-25 11:41:37 UTC | #2

    Could you please provide the complete response you are getting back when you try to run this?

    Did you make sure that the Client Credentials has the appropriate permissions to run a bridge action included in the role(s) that you assigned it?

    --Jason


    Troy | 2018-07-25 13:37:10 UTC | #3

    Hi Jason,

    Not sure exactly how to export a full response from Postman. When we get the error using Client Credential Grant the body is just "Please authenticate". Shows as 401 Unauthorized.

    When we use the Code Authorization, we got the expected JSON data as per the bridge contract we expected.

    We made sure that every permission I had was also added to the Client Credential Grant. We also made sure the Bearer was changed in bearer in the Postman client. Interestingly, when the Bearer was left as capital it gives the exact same error "Please authenticate".

    So everything identical and it just doesn't seem to work with Client Credentials Grant and does with Code Authorization.


    Jason_Mathison | 2018-07-25 13:47:41 UTC | #4

    Can you provide the headers from the response?


    system | 2018-08-25 13:47:42 UTC | #5

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 3249