Hi Everyone,
I have created connected system with Client Credentials Grant and successfully authorized but when I configured connected system to integration, getting success but body display html format. Can anyone suggest to how to get token.
My scenario : I will get token from connected system and then I need to pass that token to remaining API's as Headers.
Regards,
Devi.
Discussion posts and replies are publicly visible
rule!nameofyourIntegrationObject().result.body
Hi Devi,
If we configure a connected system inside an integration, then Appian itself will take care of passing the token in the headers.
devi said:getting success but body display html format
Could you please share a screenshot if possible for better understanding?
Yes Gayathri,
I have already tried to call integration in another integration header but getting error as "access token required".
Please share screenshots
Hi SelvaKumar,
Integration 2 calling authorization in header with first integration as below.
I have connected with Client Credentials Grant type, getting success as mentioned above screen shot and body getting html format. this connected system token needs to pass remaining API headers
and This connected system(Client Credentials Grant) not using integration 2. Integration 2 connected system using authentication with "NONE" and integration 2 want to pass token as header for first integration token.
devi said:This connected system(Client Credentials Grant) not using integration 2. Integration 2 connected system using authentication with "NONE" and integration 2 want to pass token as header for first integration token.
I'm quite confused about your integration 2. Why should it use a connected system with no authentication, but pass token from another connected system?
Why not we use the same connected system for integration 2 as well?
Yes Selva
I have tried same connected system with CC authentication type, getting 400 error.
can you suggest how to pass header with token.
Could you please attach a screenshot of the integration?
Please find the above screen shots.
Can you try removing the Authorization header from the header configuration?