# \#access\_token

**URL:** https://community.postman.com/tag/access-token/75.md

[Latest](https://community.postman.com/latest.md) · [Categories](https://community.postman.com/categories.md) · [Tags](https://community.postman.com/tags.md)

---

## [How to programmatically set a "saved" token before every request](https://community.postman.com/t/how-to-programmatically-set-a-saved-token-before-every-request/71384)

<div class="topic-metadata">

**Author:** [@koustubh24](https://community.postman.com/u/koustubh24)\
**Replies:** 2\
**Last updated:** [November 19, 2024, 8:03pm UTC](https://community.postman.com/t/how-to-programmatically-set-a-saved-token-before-every-request/71384 "2024-11-19T20:03:14Z")

</div>

I’ve got a bunch of “saved” token that I manually set before I run any of my requests. Is there a way to programmatically set these “saved” tokens using tokenName (or something else) before sending the request manual…

---

## [How to get a new access token using AWS Cognito CUSTOM\_AUTH flow?](https://community.postman.com/t/how-to-get-a-new-access-token-using-aws-cognito-custom-auth-flow/68923)

<div class="topic-metadata">

**Author:** [@nobau](https://community.postman.com/u/nobau)\
**Replies:** 0\
**Last updated:** [September 26, 2024, 1:07pm UTC](https://community.postman.com/t/how-to-get-a-new-access-token-using-aws-cognito-custom-auth-flow/68923 "2024-09-26T13:07:16Z")

</div>

In my app, I have created a passwordless CUSTOM\_AUTH flow for AWS Cognito. This means that the user enters their email in the app and then receives an OTP in their inbox which is then entered in the app. The app receives…

---

## [When Click on 'GetNewAccessToken' then it shows blank screen](https://community.postman.com/t/when-click-on-getnewaccesstoken-then-it-shows-blank-screen/61132)

<div class="topic-metadata">

**Author:** [@aqee](https://community.postman.com/u/aqee)\
**Replies:** 2\
**Last updated:** [May 17, 2024, 6:56am UTC](https://community.postman.com/t/when-click-on-getnewaccesstoken-then-it-shows-blank-screen/61132 "2024-05-17T06:56:18Z")

</div>

Need 🙋 Help ! I’m encountering an issue when trying to generate a new access token in Postman. Whenever I click on “Get New Access Token,” it leads me to a blank screen instead of initiating the token generation proce…

---

## [Salesforce Access Token Bad Request](https://community.postman.com/t/salesforce-access-token-bad-request/59395)

<div class="topic-metadata">

**Author:** [@avionics-physicist-5](https://community.postman.com/u/avionics-physicist-5)\
**Replies:** 0\
**Last updated:** [March 30, 2024, 12:27am UTC](https://community.postman.com/t/salesforce-access-token-bad-request/59395 "2024-03-30T00:27:08Z")

</div>

I want to generate a Salesforce access token programmatically using the method below, “GetAccessTokenAsync”. I’ll then pass the token to my various methods that retrieve rows using GET. (1) When I POST this from Postman…

---

## [How to get Expires\_in parameter in access token response](https://community.postman.com/t/how-to-get-expires-in-parameter-in-access-token-response/57419)

<div class="topic-metadata">

**Author:** [@security-geologist-3](https://community.postman.com/u/security-geologist-3)\
**Replies:** 1\
**Last updated:** [February 7, 2024, 1:44pm UTC](https://community.postman.com/t/how-to-get-expires-in-parameter-in-access-token-response/57419 "2024-02-07T13:44:44Z")

</div>

I was able to connect salesforce from postman and able to get access token, Issued\_at parameter in response. But I am unable to see expires\_in parameter. According to the OAuth 2.0 spec the expires\_in parameter is inc…

---

## [How to hide single response while running collection- newman](https://community.postman.com/t/how-to-hide-single-response-while-running-collection-newman/56640)

<div class="topic-metadata">

**Author:** [@material-engineer-11](https://community.postman.com/u/material-engineer-11)\
**Replies:** 2\
**Last updated:** [January 17, 2024, 1:53pm UTC](https://community.postman.com/t/how-to-hide-single-response-while-running-collection-newman/56640 "2024-01-17T13:53:28Z")

</div>

Hello everybody, how can I hide a single response when running a collection using newman with the cli reporter? I have several requests and the first one retrieves a bearer token, I would like to hide the response body …

---

## [Postman can't find access\_token](https://community.postman.com/t/postman-cant-find-access-token/54672)

<div class="topic-metadata">

**Author:** [@unifekto](https://community.postman.com/u/unifekto)\
**Replies:** 2\
**Last updated:** [November 16, 2023, 3:39pm UTC](https://community.postman.com/t/postman-cant-find-access-token/54672 "2023-11-16T15:39:45Z")

</div>

Hi, what goes wrong here? How can i make sure that postman can read tje access\_token that clearly is there?

---

## [Shared workspace \> store tokens in Coll/Env/Global variable?](https://community.postman.com/t/shared-workspace-store-tokens-in-coll-env-global-variable/52512)

<div class="topic-metadata">

**Author:** [@jasonnaylorvuw](https://community.postman.com/u/jasonnaylorvuw)\
**Replies:** 4\
**Last updated:** [October 2, 2023, 1:23am UTC](https://community.postman.com/t/shared-workspace-store-tokens-in-coll-env-global-variable/52512 "2023-10-02T01:23:26Z")

</div>

This isn’t a technical how-to question, rather looking for some best practice advice: Where should we be storing our access\_tokens (typically those that last from 5mins \> 60mins, which we would generate/request either o…

---

## [Pre-Request Script for Bearer Token](https://community.postman.com/t/pre-request-script-for-bearer-token/45508)

<div class="topic-metadata">

**Author:** [@stylianoswaterlogic](https://community.postman.com/u/stylianoswaterlogic)\
**Replies:** 2\
**Last updated:** [March 23, 2023, 11:16pm UTC](https://community.postman.com/t/pre-request-script-for-bearer-token/45508 "2023-03-23T23:16:41Z")

</div>

Hello, I currently have a simple pre-request script to get a bearer token for my request. However, I keep getting this error every time I try to send the request. “There was an error in evaluating the Pre-request Scri…

---

## [Removing Access Token requirement](https://community.postman.com/t/removing-access-token-requirement/35701)

<div class="topic-metadata">

**Author:** [@steveweiner](https://community.postman.com/u/steveweiner)\
**Replies:** 1\
**Last updated:** [June 23, 2022, 11:15pm UTC](https://community.postman.com/t/removing-access-token-requirement/35701 "2022-06-23T23:15:03Z")

</div>

Hello, Is there a way to remove the Access Token requirement. There was requirement on the V1.0 version we used but when we updated to V2.0, it is now required. Thank you

---

## [Connecting to MS Project Online - help?](https://community.postman.com/t/connecting-to-ms-project-online-help/13930)

<div class="topic-metadata">

**Author:** [@cpchambers](https://community.postman.com/u/cpchambers)\
**Replies:** 5\
**Last updated:** [July 11, 2020, 8:04pm UTC](https://community.postman.com/t/connecting-to-ms-project-online-help/13930 "2020-07-11T20:04:30Z")

</div>

Can someone help me (explain it like I’m 5? step by step?) get connected to Project Online. Google’s been little help, every search results in Sharepoint connection help, but always fails. Specifically I want to connec…

---

## ["Invalid client auth token." when requesting a visual studio token](https://community.postman.com/t/invalid-client-auth-token-when-requesting-a-visual-studio-token/4237)

<div class="topic-metadata">

**Author:** [@rzand](https://community.postman.com/u/rzand)\
**Replies:** 0\
**Last updated:** [February 21, 2019, 2:02pm UTC](https://community.postman.com/t/invalid-client-auth-token-when-requesting-a-visual-studio-token/4237 "2019-02-21T14:02:18Z")

</div>

Hi, I am new to oauth 2.0 and trying to get a token to access Azure DevOps Services REST Api but I keep getting “Invalid client auth token.”. I created an app and can successfully obtain an authorization\_code for it fr…

---

## [Script has error on the server but works in local Wampserver](https://community.postman.com/t/script-has-error-on-the-server-but-works-in-local-wampserver/4022)

<div class="topic-metadata">

**Author:** [@mahdi.temps](https://community.postman.com/u/mahdi.temps)\
**Replies:** 0\
**Last updated:** [February 5, 2019, 9:37am UTC](https://community.postman.com/t/script-has-error-on-the-server-but-works-in-local-wampserver/4022 "2019-02-05T09:37:01Z")

</div>

Hi I’m trying to get the authentication token and save it to an environment variable using Prerequest Scripts. I found this script and customized it for my needs: It works perfectly on my local WAMPServer but in the …
