Authentication Tutorial
Feature Introduction
X-User-Token
in the Header
parameter of an HTTPS request.X-User-Token
and X-Project-Uuid
. Please ensure that the user corresponding to the X-User-Token
has the project permissions to access the project normally.X-User-Token
is a JWT token. You can use a JWT Decoder to parse the user infomation corresponding to the token. If authorization fails, please check on lightHub 2 whether the user has the permissions for the project being accessed.Interface Usage Process
X-User-Token
and X-Project-Uuid
into the Header
parameter of the OpenAPI interface to communicate with FlightHub 2.X-User-Token
for FlightHub 2 is the organization key for FlightHub Sync. The path to obtain the organization key is as follows: FlightHub 2 -> My Organization -> Organization Settings -> FlightHub Sync -> Organization Key.X-Project-Uuid
can be obtained from the data.list.uuid
in the project list interface under the organization.