Connect Wire Public Client to a Custom Backend

  • Updated

Requirements

  • Install Wire from the app store or download it from Wire’s website

  • Have a running Wire backend in your infrastructure/cloud. Note down the full URL of the web app served by that backend (for example, https://app.custom-wire.com)

Windows

  • Create a shortcut to the Wire app

  • Edit the shortcut

    • add the following command line paramenter to the shortcut: --env {URL}, where {URL} is the URL of your web app

macOS

Create the app:

    1. Open Automator.

    2. New application.

    3. Add Run shell script phase.

    4. Type in the script panel the following command: open -b com.wearezeta.zclient.mac --args --env {URL}, where {URL} is the URL of your web app.

    5. Save the app from Automator (for example. on your desktop or in the application).

To run the application, open the application you created in step one.

Linux

Start the application with the command line arguments: --env {URL}, where {URL} is the URL of your Wire for web.

iOS & Android

  1. Install Wire, do not log in on any account.

  2. Open the link.

  3. Select Accept in the dialog.

Create a link with the following format:

wire://access/?config={JSON-URL}

where {JSON URL} is the URL of a JSON file that will describe how to connect to your backend, for example, https://my-backend.my-company.com/config.json.

This can be hosted anywhere accessible to the device opening the link: the app will download it to discover how to connect to the backend.

The wire://access?... link needs to be open on the mobile device (for example, send it by email, embed it on a webpage).

No labels

Was this article helpful?

0 out of 2 found this helpful

Have more questions? Submit a request