Jagruuti
5 years agoContributor
How to extract the access token from the 'Auth' tab and transfer it to the other requests in header?
I want to get the generated Access Token from the Auth tab and use it as a property for other tests. (Require to pass the access Tokens as the header for all the test steps). I want to avoid doing it...
- 5 years ago
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