Skip to Content
Technical Articles

SAP CPQ – JWT Token Authentication

To authenticate with a JWT token, follow these steps:

  1. Go to Setup  General  Application Parameters  General Parameters and generate a shared secret key in Shared secret.

  2. Generate a JWT token.

    You can use https://jwt.io/, for example.

  3. Pass the token in Authorization.

JWT Webtoken Sytnax

Python Code to generate JWT Token

 

The REST APIs with the following endpoints support JWT token authorization:

  • api/v1/admin/files

  • api/rd/v1/Configurator

  • api/v1/Health

  • api/v1/cartApi

  • api/v1/ClmApi

  • api/v1/CustomerApi

  • api/v1/customers

  • api/v1/markets

  • api/v1/quotes

  • api/v1/Quote

Be the first to leave a comment
You must be Logged on to comment or reply to a post.