Steez Factor
Steez Factor

Reputation: 21

Collaborate while using postman ( Bearer Token )

I have a quick question: If I had a collaboration with another individual and they used my API end points on their postman desktop app. Will that individual be able to see my bearer token if set up properly or would it be their own bearer token?

Thanks

Upvotes: 1

Views: 213

Answers (2)

Danny Dainton
Danny Dainton

Reputation: 25921

You can use Sessions in Postman to set up a variable (Global, Environment or Collection) for your Bearer token, rather than hardcoding this in the Request.

If this is only set in the Initial Value, only you will see/be able to use that value and your team won't be able to see/use it. They will need to provide their own token value.

More information can be found here:

https://www.youtube.com/watch?v=JcSZtVwH69w

https://learning.getpostman.com/docs/postman/environments_and_globals/Sessions/

Upvotes: 0

Milan
Milan

Reputation: 203

If you export your postman collection and it has your bearer token in the headers of the request, person that imports it will have your bearer token.

Upvotes: 0

Related Questions