{ "info": { "_postman_id": "2cddce6b-61bc-4222-adfb-a27372bb3381", "name": "Apigee Bug IDP Demo Copy", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "Apigee Bug IDP Demo for OAUTHV2", "item": [ { "name": "[ACCESS TOKEN] {{http}}{{env_fqdn}}/v1/bug-idp/token BUG", "event": [ { "listen": "test", "script": { "id": "129ee6c7-0806-4dbe-a471-a5f670ed8a7e", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "{{client_creds_client_secret}}", "type": "string" }, { "key": "username", "value": "{{client_creds_client_id}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/x-www-form-urlencoded" } ], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "username", "value": "LisaBradshaw", "type": "text" }, { "key": "password", "value": "lb12345", "type": "text" }, { "key": "grant_type", "value": "password", "type": "text" } ] }, "url": { "raw": "https://ferguson-api-mock.apigee.net/v1/bug-idp/token", "protocol": "https", "host": [ "ferguson-api-mock", "apigee", "net" ], "path": [ "v1", "bug-idp", "token" ] }, "description": "Get access_token" }, "response": [] }, { "name": "[REFRESH TOKEN] {{http}}{{env_fqdn}}/v1/bug-idp/token BUG", "event": [ { "listen": "test", "script": { "id": "177a3422-62f4-449e-a0be-40e72651e690", "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "{{client_creds_client_secret}}", "type": "string" }, { "key": "username", "value": "{{client_creds_client_id}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/x-www-form-urlencoded" } ], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "grant_type", "value": "refresh_token", "type": "text" }, { "key": "refresh_token", "value": "lbradshaw_refresh_token_passwd", "type": "text" } ] }, "url": { "raw": "https://ferguson-api-mock.apigee.net/v1/bug-idp/token", "protocol": "https", "host": [ "ferguson-api-mock", "apigee", "net" ], "path": [ "v1", "bug-idp", "token" ] }, "description": "Get access_token via refresh_token" }, "response": [] } ], "protocolProfileBehavior": {} } ], "event": [ { "listen": "prerequest", "script": { "id": "a21ee32d-f7f7-48da-9160-afd057d50765", "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "id": "4f50b4b2-658b-4ac9-a5b4-2960864c8d10", "type": "text/javascript", "exec": [ "" ] } } ], "protocolProfileBehavior": {} }