Desktop app auth / App login

Step 1 of the desktop auth flow. The desktop app opens this URL in a browser. The user must already be logged in via cookie auth. On success, the browser is redirected to webscout://auth/callback?code=&state= so the OS dispatches the URI to the registered desktop app.

Route: /api/sys/v{version:apiVersion}/desktop_app_auth/app_login

Method: GET

Authorisation: Minimum role: USER

Request Arguments
Name Type Source
stateStringQuery

  Request body example

Response object

Response status: 302 (Found)

Response type: Void

Wrapper:

Other response statuses: 403 (Forbidden), 500 (InternalServerError)

  Response body example