This folder contains a Postman Collection that includes all the currentAPS Secure Service Account (SSA) API. The collection together with the environment help you easily test these endpoints.
-
Import Postman environment & collection, please setup the following environment vialables,
-
Please get started from the scripts under Tutorials folder and follow the instructions of Get Started with SSA tutorial on the APS Dev Portal to create your first SSA robot account.
Use the script GET third-party script for JWT Sign to get the third-party JavaScript library to sign JWT assertion.
-
The CryptoJS in Postman doesn't support RS256 as sign algorithm, so we use a third-party script for JWT Sign.
-
It will fetch the script from https://cdnjs.cloudflare.com/ajax/libs/jsrsasign/8.0.20/jsrsasign-all-min.js and save the content in an environment variable of Postman called
jsrsasign-js
.
-
Naming your SSA: Before creating a SSA robot, please ensure you give it names in the
Step 0: Naming your SSA
script under the Get Started with SSA tutorial, following the Naming guides. -
Generate JWT Assertion: The
Step 1 & Step 2: Generate JWT Assertion and Exchange JWT Assertion for a Token
script under the Task 3 – Generate 3-Legged Access Token tutorial generates JWT assertion in the Pre-request, and set the assertion into Postman's environment variables.
This sample is licensed under the terms of the MIT License. Please see the LICENSE file for full details.
Eason Kang in/eason-kang-b4398492/, Developer Advocate