Relative Content

Tag Archive for requestpostmantokenimplicitpre

How to generating access token for OAuth 2.0 programmatically in postman using pre-request script

I am using the following fields in Postman->Authorization->Oath 2.0 ->
Client ID, Callback URL, Authorization URL, Grant type, Scope , State.
After passing these once I click on “Get New Access Token” button, the website launches and after passing id, password system generates access token.
All the above mentioned flows I want to pass it in Pre-request script programatically and the response should contain the access token. Can anyone please help me on this? This would help me if there is any scheduled run it will give response token without any manual intervention