I want to set a Bearer Token in postman
For some reason my Postman doesn't have the Bearer Token option in the Auth dropdown
What can I do in Postman to show that option? Any ideas where I can find it? Regards.
I want to set a Bearer Token in postman
For some reason my Postman doesn't have the Bearer Token option in the Auth dropdown
What can I do in Postman to show that option? Any ideas where I can find it? Regards.
I'm not sure if those 2 images are from the same Postman application or not but the Bearer Token feature only came in on version 5.3.0.
You can just manually add an Authorization Request Header with a Bearer <my_token> value.
This is just a dummy value for demo purposes - The actual value should be Bearer + your token value.
That should work without the need to use that option from the drop down list. This would only just replicate automatically, what you would be doing manually anyway.
I am using Postman v7.0.9.
Add accessToken variable to postman environmental variable.
Then use Tests tab to write javascript.
let jsonData = pm.response.json();
let token = jsonData.accessToken;
pm.environment.set('accessToken', token);
If you are usign the current version "Bearer Token" type is under Authorization tab.
The problem is with Postman with Chrome or Chrome extension of Postman, It doesn't have more authorization options.
So Just download the new postman app, it has more features and you will get the Bearer Token option too.
I faced this problem a long time ago. And I solved this problem by installing the Desktop version and again login with Google account. After that Bearer Token visible in postman!
In my case, I used Windows 8.1 and 64 bit.
here you can get the desktop version