Page tree
Skip to end of metadata
Go to start of metadata

Especially in large companies, many employees who do not have their own desktop workstation have to be granted access to the Linchpin intranet on a mobile basis. In addition, there is the challenge that these employees do not use a mobile device managed by the company, so that a BYOD strategy (Bring Your Own Device) must be pursued.

To simplify the onboarding of colleagues for Confluence administrators, it is possible to generate authorization tokens for mobile login via a script directly from Linchpin. These tokens can be created per Confluence user and then converted into a QR code, which can be used by the employee for mobile login via the Linchpin Mobile Gateway.

Script for generating user logins as a Confluence administrator

curl 'https://[confluence-base-url]/rest/linchpin-mobile/1.0/firescope/user/qrcode' \
  -X 'PUT' \
  -H 'Connection: keep-alive' \
  -H 'Pragma: no-cache' \
  -H 'Cache-Control: no-cache, no-store' \
  -H 'Accept: application/json' \
  --data-raw '{"userName":"[username]","expiry":[time to expire in hours],"qrcodetype":1}' \
  --compressed \

The following parameters are to be set here:

  • Confluence base URL
  • Confluence username of the user for whom the mobile access should be created
  • Validity period of the QR access code in hours (min. 1)

The interface then returns a text block, which can be converted into a corresponding QR code using a QR code generator. This code can now be issued to employees and scanned by end users with the app.

This page was last edited on 04/20/2021.