Your token is good for a short period of time so you should call to receive the JWT API token very soon after having constructed your Originating token. We utilize a tool call Postman, a plug in to the Chrome browser to manually make calls. You will need to do an HTTPS POST to the following URL:
POST https://clock.payrollservers.us/AuthenticationService/oauth2/usertoken
In the header add “Authorization”, “Bearer {Originating Token}, add header “Content-Type” of type “application/json”. In Postman it looks like:
Sample: Response
{ "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOjEyMzQ1LCJzdWIiOiJhY2NvdW50YW50IiwiZXhwIjoyMDcxMzAzMTcwLCJwcm9kdWN0IjoidHdwcGFydG5lciIsInNpdGVJbmZvIjp7InR5cGUiOiJpZCIsImlkIjoiNjc4OSJ9fQ.8L4CVAP6I4TVpjXLck8knpC8YDWG0xMd0h2j2bm05DU" }
See the Single Sign-on section for next steps.