Authentication interface two (login-free JWT token method)
| Properties | Values |
|---|---|
| HTTP methods | GET |
| Interface path | /api/authorizeByJWT.do |
| Category | Authentication API |
Interface description
Interface path: /api/authorizeByJWT.do
HTTP method: GET
Section to which it belongs: Authentication interface one (login callback method)
HTTP request method
GET
URL parameters
Parameter name Comment (description) response_type must be code (required) string client_id developer's id (required) string jwt_token Jwt token, (required) string It is a string formed by encrypting {client_id: xxxxxxx} email email (optional), enter the user's email address, log in as this user, leave it blank to log in as an enterprise administrator, string phone phone (optional), enter the user's mobile phone number and log in as this user. Leave it blank to log in as the enterprise administrator. string babelId babelId (optional), pass in the user's work ID, log in as this user, leave it blank to log in as the enterprise administrator, string
Call instructions
- Before calling, you need to complete Get token or the corresponding login-free authentication, and carry
Authorization: Bearer <access_token>in the request header. - If there are differences in parameters and return fields due to deployment versions, the actual private cloud API documents and joint debugging results should prevail.
- Category: Authentication API.