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 Web token Syntax

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

Thanks, for reading it till the end. 🙏


Hope you find that helpful! Let me know your thoughts on this in the comments section.
Don’t forget to share this article with your friends or colleagues.
Feel free to connect with me on any of the platforms below! 🚀

SAP |Twitter | LinkedIn | GitHub

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