Setting up JWT authentication for Operator deployment

This document is for setting up JWT authentication for Order Service in Sterling Order Management System Software Operator deployment. By default, authentication is enabled for Order Service in Sterling Order Management System Software Operator deployment.

All incoming requests in Order Service are authenticated with the help of signed JWT (JWS). To authenticate the incoming request, Order Service uses JWT token that is generated by Sterling Order Management System Software.

To configure JWT, complete the following steps.
  1. Configure JWT properties for Sterling Order Management System Software. For more information, see JWT properties for Sterling Order Management System Software.
  2. Configure JWT properties for Order Service. For more information, see Configuring JWT properties in Order Service.
    You can configure JWT properties for Order Service with configuration parameter.
    configuration:
       <jwt_property_name>: <value>
    
    Note:
    • Ensure that the JWT property values that you configure in Order Service match the values that are configured in Sterling Order Management System Software for corresponding JWT properties.
    • If you want to configure JWT authentication independently in your Sterling Order Management System Software without using Sterling Order Management System Software integration provided by operator, you need to add the value of the jwt_oms_public_key property in Sterling Order Management System Software secret.