cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate a bearer token in Oauth2.0 with certificate ID

Venkateswara_Ra
Level 3

Hi Team,

In one of my project, we have to submit a POST request in Utility - HTTP New with certificate ID. I am able to get certificate ID with Utility - HTTP New object. and I am trying to generate token by using HTTP - Request action in Utility - HTTP New object. But unable to generate token. 

I have tried with  below objects as well to submit my request, but no luck. Authorization type is OAuth2.0 and we have Client ID and Client Secret and those values passed in Headers.
Webservices - OAuth2.0,
OAuth2.0

I have tried some trail and error exercise with Utility - HTTP New object by generating token from Postman and used that token in HTTP- Request action and submitted my request successfully to API,  Please find below screen shot FYR.

31303.png


We got success response from above request.

31304.png

I have referred previous queries as well but I could not find any solution for my problem. So Kindly help me to generate token from  BluePrism object to solve my problem.

Thanks & Regards,

Venkateswara Rao



------------------------------
Venkateswara Rao Gubbala
------------------------------
1 REPLY 1

GopalBhaire
Level 10

Hi Venkateswara,

What error are you getting while trying to generate the token. Also, please make sure you are running Load Certificate followed by HTTP Request without reset, as load certificate stores data in a dictionary internally.

Thanks,



------------------------------
Gopal Bhaire
------------------------------