i2rest_request_bridge_authorize

From i2Rest
Jump to: navigation, search

This object represents parameters which are required to initiate the Authorization code flow in i2Rest Bridge mode.

Field Type Description Default value
authorization_endpoint string REQUIRED. Authorization endpoint

Defines URL to be used by i2Rest bridge to send authorization request

client_id string REQUIRED. Client's ID

i2Camunda will use this value as client_id parameter of authorization request

bridge_endpoint string REQUIRED. Bridge endpoint

Defines URL to send bridge request

bridge_client_id, bridge_client_secret string REQUIRED. Bridge client's ID and secret

i2Camunda will use this values as bridge client ID and secret parameters of bridge authorization request

scope string The scope of the access request

The scope of the access request. It can contain one or more scopes separated with spaces, for example:

run_program run_command
on_error string BPMN error code

If defined, i2Camunda will throw BPMN error with this code instead of creating incident.

on_401 string "Unauthorized" BPMN error code

This code will be used for throwing BPMN error when authorization endpoint returns response with HTTP status 401 unauthorized. If not defined, the incident will be created

Upon response, i2camunda will save the same parameters as Device authorization response parameters in i2camunda_response Json variable (the name of this variable can be overridden in i2camunda configuration object):

  • bridge device_code
  • bridge user_code
  • verification_url
  • verification_url_complete
  • expires_in
  • interval