function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Isabela Domingues 1Isabela Domingues 1 

how to pass refresh token via header (postman)?

I wanted to pass Refresh tokan via HEADER using postman (I know how to get refresh token) but I don't know how to pass it

What key I have to use? And how I pass the value? I tried to pass it at Authorization key and Value "Authorization Bearer <<refresh_token>>" but it didn't works

User-added image
EllEll
You're nearly there!

The header key is Authorization like you are using, but the value is just Bearer <TOKEN> without putting Authorization at the beginning again :)
Isabela Domingues 1Isabela Domingues 1
@Ell I think that it doesn't matter the "Authorization" cause it's working fine with. My issue is that is always expiring and I need a token that never expires 
EllEll
The refresh flow uses a different endpoint to pass the Refresh Token to get a new Access Token each time, it's just passed as a URL parameter!

You'd need to setup your Connected App settings to make sure the Refresh Token will never expire unless revoked and then you can store that token and always re-use it to get fresh Access Tokens