JWT token



how to access apis using jwt token and which end point i need to hit to get JWT token ??

Submitted by iCIMSUNIFIL on December 03, 2018 Permalink

When you are provided the information to login to your Prime sandbox the JWT information and signing key are provided. Be sure you use these to get the encoded JWT token to be used for authorization. Using jwt.io Include the following in the payload:
{
"sub": "xxxx",
"iss": "xxxxx.prime.sandbox",
"iat": epochstarttime,
"exp": epochendtime
}
The signing key goes in 'your-256-bit-secret'.
You will use the endpoint provided under API URL. Please contact your Partner Manager if you have not been provided a Prime sandbox and are interested in developing a Prime BGS connector