JWT properties for Order Service

To set up JWT authentication, you need to set the properties that relate to JWT in Order Service.

Note: The property values that you configure in Order Service must match the property values that you configure in Sterling Order Management System Software.

Configure the following properties in Order Service:

Property Default value Description
jwt_issuer oms Input the value for adding the JWT token issuer.
jwt_aud oserv Input the value for configuring the target audience of JWT token.
jwt_algo RS256 Input the value for configuring the JWT signing algorithm.
jwt_ignore_expiration false Specify if you want to ignore an expired JWT token or not.
jwt_oms_public_key Not applicable. Input the value for configuring the public key that is exported from Sterling Order Management System Software.
Important: When configuring the public key in Order Service, delete the text in the ----- BEGIN PUBLIC KEY----- and ----- END PUBLIC KEY----- sections from the exported public key and convert multiple lines to single line.
Note: For steps on how to generate keystore and export public key, see Generate keystore in Sterling Order Management System Software.