Connect Wire Public Client to a Custom Backend

  • Updated

Requirement

  • Install Wire either from the app store, or download from our website

  • Have a running Wire backend in your infrastructure/cloud. Note down the full URL of the web app served by that backend (e.g. 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 (e.g. on your desktop or in Application).

To run the application: just 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 webapp.

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 that is 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, etc.).

No labels

Was this article helpful?

0 out of 2 found this helpful

Have more questions? Submit a request