Google OAuth 2.0 flow

Hey everyone,

I want to reproduce the steps of Google OAuth2.0 Authentication using Postman.

I have an API call (GET request) that responses with the URL that user has to be navigated to LogIn via Google.


  1. The first step is to call my API and receive the redirection URL, then navigate to it through my browser. How can I implement this programatically? I want my browser to open this url as soon as it receives the URL response.

  2. The second step is to capture the cookie after successful login from my browser.

Any help? Thanks in advance!