postman-app-support icon indicating copy to clipboard operation
postman-app-support copied to clipboard

Postman API Authorization OAuth2 Collection Level Get New Access Token Error

Open mmurphy-asg opened this issue 1 year ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the tracker for existing similar issues and I know that duplicates will be closed

Describe the Issue

I am following this guide to test Google API calls. https://quickstarts.postman.com/guide/google-oauth-in-postman/index.html?index=..%2F..index#0 When trying to configure the Authorization at the collection level, I am getting "Missing required parameter: client_id" in the google dialog popup when i click the "Get New Access Token" button (see screenshot). The clientID and clientSecret are set in variables (see screenshot).

When setting the OAuth2 authorization at the HTTP request level, when i click the "Get New Access Token" button I get the correct dialog asking me to authorizae access and a access token is returned as expected.

Steps To Reproduce

  1. follow instructions in this guide https://quickstarts.postman.com/guide/google-oauth-in-postman/index.html?index=..%2F..index#0
  2. Try to setup Oauth2 authentication at the collection level.
  3. Set get call to use Authorization from parent.

Screenshots or Videos

postman1 postman2

Operating System

macOS

Postman Version

11.4.0-240705-0657

Postman Platform

Postman Web

User Account Type

Signed In User

Additional Context?

No response

mmurphy-asg avatar Jul 18 '24 17:07 mmurphy-asg

May be Google's Oauth needs client ID to be sent as a part of the token request as well? You can customise this through the advanced options in Oauth image

giridharvc7 avatar Jul 22 '24 12:07 giridharvc7