Welcome to Zuora Product Documentation

Explore our rich library of product information

Using JWT attributes in custom components

Learn how to configure and use JWT attributes in custom components to dynamically display user-specific content.

Once configured, the system will extract the specified data from the JWT and make it available in the scope under blaze.jwt_attributes. This can be used in the Component Library > Custom Component block. For example:
{{blaze.jwt_attributes.greeting}}
When this code is used in a custom component, it retrieves and displays the value stored in the greeting field from the claim name within the JWT specified in the configuration.
  • The retrieved value can be a string, such as a nickname, or a JSON structure containing multiple pieces of data.
  • This configuration allows dynamic user-specific content to be displayed within your application.