Test mode
The app pairs with a gateway it can reach over HTTPS, under the gateway's own host name. A gateway on a laptop (https://localhost:8443) or behind an internal name has neither for a phone: test mode gives it one for a while, without a DNS record of yours and without opening a port.
How it works
Turning test mode on asks Cloudflare for a temporary address, through a quick tunnel: the gateway runs cloudflared, which ships in the Enterprise image, and gets a random address such as https://shy-river-1234.trycloudflare.com, covered by Cloudflare's own certificate. No Cloudflare account is needed, and nothing is written in your DNS.
While it is open:
- The profile's QR code carries the test address, whatever address your browser uses: you can open your profile on
localhostand scan. - Only the app gets through it. The pairing (with its one-time token), the calls the phone signs with its key, and the pages the app opens from a session of its own pass. A browser that finds the address gets nothing: the sign-in page and every other page answer
404. - The public address does not change. The issuer of the tokens and of the OpenID provider stays the same; the test address is only one more way in.
It closes by itself at the end time you chose, when you turn it off, or when the gateway stops. The phones paired through it stay listed, marked Test address closed: they cannot reach the gateway any more, and the address will not come back (the next opening gets a new one). Remove them, and pair again, when you open test mode the next time.
Open the test address
Turn test mode on
Open Application, Mobile (/application/mobile), choose a duration (15 minutes to 4 hours, 1 hour by default) and turn on Test mode. After a few seconds the screen shows the address, the time it closes and who opened it. A banner at the top of the console says so, on every screen, until it closes.
Pair the phone
Open your profile, Mobile, as usual. The page says it is in test mode and until when; scan its QR code with the app and type the code it shows.
Close it
Turn Test mode off, or let it reach its end time.


Who can, and how to forbid it
The switch is root's and the application administrator's, like the rest of the Mobile screen. Opening and closing go in the audit trail, with the address and the reason it closed.
An installation that wants none of it forbids it at deployment: the screen then shows the switch locked, with the reason.
| Deployment | Setting |
|---|---|
| Helm chart | mobile.testAddress: false |
| Environment | MEERKAT_MOBILE_TEST_ADDRESS=off |
The gateway also needs outbound HTTPS to Cloudflare while the address is open.