Rate This Document
Findability
Accuracy
Completeness
Readability

Request Format Description

client_id is a parameter to be configured by the integration party during the DevKit installation. redirect_uri is determined based on the tool installation IP address and port that are selected during the DevKit installation. The parameters are configured during the installation and saved in the DevKit configuration file. If modification is required, execute the sso_register.sh file in the tools directory in the DevKit installation directory for reconfiguration.

Request Mode

GET(HTTPS)

Resource URL

https://Domain_name_of_the_authentication_interface/sso/oauth2/authorize

Request Header

Content-Type: application/json

Request Parameter

1
2
3
4
5
{
  "client_id": "20221017000000001",
  "redirect_uri": "https://User_domain_name:Port_number/#/",
  "response_type": "code"
}
Table 1 Request parameters

Parameter

Name

Type

Description

client_id

Application ID

String

Registration ID of the client application (The input parameter is stored in the server configuration file during the DevKit installation.).

redirect_uri

Redirection address

String

The redirection address is the DevKit login address. After the code parameter is returned, the subsequent identity authentication is performed.

response_type

Response type

String

Only the code mode is supported.

Request Example

curl -X GET 
https://Domain_name_of_the_authentication_interface/sso/oauth2/authorize?redirect_uri=https://User_domain_name:Port_number/#/login &client_id=test&response_type=code
  -H 'Content-Type: application/json'