Get JwtToken

Estimated reading: 3 minutes 257 views

The Get Jwt Token activity enables you to retrieve tokens configured from the Robility Manager vault for a specified project. 

What is a JWT Token?

When interacting with APIs or web applications through REST services, a JWT (JSON Web Token) is commonly used for authentication and authorization between the automation activity and the target application. By using JWT, the need to log in with credentials for every request is eliminated, enabling secure and seamless access to protected resources.
 
In Robility, this token is primarily leveraged within the “WebClient – REST” activity. Unlike a regular token, a JWT is self-contained and includes all the necessary claims within the token itself. This makes it more secure and efficient, as it does not require database verification for each request—the token’s integrity can be validated directly using its digital signature. 

To learn more about its role in automation, click here.

Properties

INPUT

Tenant Name: Indicates the name of the tenant to which the project is currently connected.

Application Name: * Specifies the name of the asset to be retrieved, provided as a string. You can either hardcode the value as a string or use a string variable.

MISC

Display Name: Displays the name of the activity. The activity name can be customized, which aids in troubleshooting.

SkipOnError: Specify the “Boolean” value as “True” or “False.”

True: Continue executing the workflow regardless of any errors thrown.
False: Halt the workflow if it encounters any errors.
None: If the option is left blank, the activity will, by default, behave as if “False” were chosen.

Timeout: Specifies the maximum duration (in milliseconds) to wait while retrieving the asset from the vault. By default, the value is set to 30000 milliseconds.

Version: It indicates the version of the feature being used.

OUTPUT

Result: This parameter allows you to view the execution status of the activity and returns a value in “Boolean.”

True: Indicates that the activity has been executed successfully without any errors.
False: Indicates that the activity has been unsuccessful due to an unexpected error being thrown.

JwtToken: Returns the token of the application retrieved from the vault as output in String data type.

* Represents mandatory fields to execute the workflow. 

Share this Doc

Get JwtToken

Or copy link

CONTENTS