The Verifi Issuer API uses JSON Web Tokens (JWT) for authentication. A fresh JWT must be generated for every API call. This section explains how to store credentials securely and how the ServiceNow® script generates and attaches the JWT.
Procedure
-
Create a new JSON Web Tokens (JWT) key with the signing key (secret) and the signing algorithm shared by Verifi.
-
Create a new JWT provider with the JWT key created in previous step, update the Expiry Interval (sec) as mentioned by Verifi and update the iss standard claim value to the Issuer ID provided by
Verifi.
-
Create a new connection in sn_verifi_spoke.
Configure the Verifi connection alias with the correct URL, the Issuer ID (shared by Verifi) and the JWT provider created in previous step, make sure that API version provided here is correct. See
JWT Authentication for more information.
-
Attach the required headers at call time.