Hi @gquddus2013
This post will help me to apply the authorization rules to all the requests, but this will not help me to create tokens at the same time. I will have to manually get the tokens every time.
Regards,
Jagruti Wani
Hi @richie,
Thank you so much for your reply!
One more thing, you have mentioned that you have set up all the individual requests that comprise the back and forth which helped you to extract the access token and save it in a property. How did you do that?
Though I have the OAuth setup already, I would like to automate the below steps sequentially.
1)The clicking of 'Get Access Token' Button
2) Entering the login credentials on the login page of application.
3) Extracting the verification code from outlook and entering on the next page after login.
4) Extracting the access token and adding it in the header.
And yes I will try the second option too.
Regards,
Jagruuti
Hi @Jagruuti , I see you are working with the Support Team on this - please let us know when you get the solution! Thank you.
Hi @sonya_m ,
I have still not got the solution. I will post it once I get the solution from the Support team or from some of the findings.
Thanks and Regards,
Jagruuti
Hi @sonya_m,
Support Team has provided with the answer 🙂
While using OAuth 2 flow, you need to select the checkbox of 'Use Authorization Header' as shown in the attached screenshot. Then, you don't need to add the token in the Headers tab Ex. Authorization: Bearer [Access Token]. After that, you can use the Auth Manager and select the respective OAuth 2 profile for your requests.
Thank you,
Jagruuti
Subject | Author | Latest Post |
---|---|---|