Skip to content

Connection page: Mideye Cloud and Mideye Server fields

This page is for administrators who connect the Mideye endpoint to its backend. The Connection page says where sign-in requests go and how this computer reaches that place. The computer must reach the backend before anyone is signed in, so nothing else works until Test on this page passes. For the steps, see Connect Mideye Cloud or Connect Mideye Server.

Backend (“Where authentication requests go.”) has two choices. The rest of the page changes with the choice.

ChoiceWhat it isDefault
Mideye CloudThe hosted Mideye Authentication API. No server of your own. You need a client ID and a client secret from the Mideye portal.Selected while nothing is saved.
Mideye ServerThe Authentication API of your own Mideye Server 6.6.6, one to five servers. You need an API token for each.

Mideye Configuration, Connection page with Mideye Cloud selected: Client ID, Client secret, Key renewal and advanced settings.

FieldWhat it doesDefault
Client ID (“OAuth client ID.”)Names this computer’s key in the Mideye portal, portal.prod.mideye.com.Empty
Client secretThe secret of that key. A saved secret shows as Enrolled or dots and is never shown again. Typing replaces it, emptying the box removes it, leaving it alone keeps it. One key can serve many computers.Not set
Key renewalOff (renew by hand): you create a new secret in the portal and enter it. Automatic (one key per computer): the computer renews its key in the last days of its life.Off (renew by hand)
TestRuns the connection test with the values you typed, saved or not. The result is one line under the card, with Details.
  • The Mideye service asks the Mideye portal for the key’s expiry at most every 6 hours. The computer must reach portal.prod.mideye.com for this. If it cannot, sign-ins still work, but you get no expiry warning.
  • Overview and Diagnostics show Mideye Cloud key with the days left: yellow from 30 days, red from 7. mideye cp health prints the same.
  • Event 2015 is written at 30 and 7 days (Warning) and 1 day (Error) before expiry.
  • Use Automatic (one key per computer) only when the key belongs to this one computer. A renewal replaces the secret, so other computers or Mideye Servers that use the same key stop working when the old secret expires. A Fleet policy cannot turn it on.
  • To renew by hand, create a new secret in the Mideye portal and type it into Client secret.

Mideye Configuration, Connection page, with two Mideye Server rows, their API tokens, certificate trust and test status.

“Servers are tried from top to bottom.” Each row is one Mideye Server. The first is used until it fails, then the next. There are at most five. Each server has its own API token and its own certificate trust.

Column or buttonWhat it does
Server addressThe URL of the Mideye Server, like https://mideye.example.com:8443.
API tokenThe token of the Authentication API endpoint on that server. Shown as dots after you press Set.
CertificateHow this computer trusts that server’s certificate: System certificate store, CA bundle or Pinned public key. See Certificate trust.
StatusNot tested, OK, Warning or Failed, from the last test.
SetOn the empty last row, and on a row with typed input. Stores what you typed. A typed address or token that you did not store with Set is reported as a problem.
TestTests that one server. Test all at the top tests every row.
Up and down arrowsChange the order.
XRemoves the row.

A skipped server is recorded with event 1013.

ChoiceUse it when
System certificate storeThe server’s certificate comes from a CA the computer already trusts.
CA bundleYou use an internal CA that is not in the Windows store. Choose a PEM file that holds certificates only, no private key (8192 bytes at most).
Pinned public keyAlways for a fresh Mideye Server. Its self-signed certificate (CN=Mideye Server, no other name) fits neither of the other choices. A row shows for example “1 of 2 pins” and Manage pins.

A pin checks the server’s public key, not its name. In Manage pins press Fetch certificate, check that the address is your own Mideye Server, and press Accept and pin. A server can hold two pins, so a new key can be added before the certificate changes. The last pin cannot be removed. To stop pinning, choose another trust setting. A server whose trust changed asks for its API token again.

If a test reports a certificate that does not match, press Trust this server… and use Trust and pin. On the command line, mideye cp trust-server <url> shows the pin and --accept <pin> stores it only if it still matches. There is no setting that turns certificate checking off.

The card is closed by default and says what is set, for example “No proxy”. Press Show. The defaults suit most installations.

FieldWhat it doesDefault
Phone attributeThe Active Directory attribute that holds a user’s phone number, for Touch and Assisted Login.mobile
Token serial attributeThe attribute that holds a user’s token serial number.ipPhone
User ID attributeMideye Server only. The AD attribute sent as the user ID.Empty
Health check cacheMideye Server only. How long a health check result is reused before the server is checked again.30 seconds
Fail-back intervalMideye Server only. How often the computer tries to go back to the first server.300 seconds
Proxy typeNo proxy, HTTP proxy, User + password or API key.No proxy
Proxy URLFor example http://proxy.example.com:3128.Empty
Proxy user, Proxy passwordWith User + password. The password is a secret.Empty
Proxy API key, API key headerWith API key. The header is the HTTP header that carries the key, for example X-API-Key.Empty
Proxy timeoutHow long to wait for the proxy when connecting.30 seconds

A proxy that answers 407 is recorded with event 5812. The request timeout (10 seconds) is not shown in the tool. It is set in the configuration file or by Fleet.

Test runs these steps and shows each as ok, failed or skipped: Configuration, DNS, Proxy, TLS and Server health. The result says how the request travelled (Direct, or through a proxy) and, for a Mideye Server, how the certificate is trusted. When every step passes it says Every step passed. The test is made by the Mideye service when it runs. If the service is not running, it is made by the tool, with the account you started it with.

A Mideye Server also reports whether it can reach Mideye Cloud. A Mideye Server that cannot reach Mideye Cloud cannot send Touch or the SMS link, and users are asked for their one-time code instead. See Sign-in methods.

  • With Mideye Server, the server finds users, phone numbers and tokens in its own database or LDAP. The phone numbers on the Users page are for Mideye Cloud only. For local Windows accounts, see Connect Mideye Server.

  • Set a secret from the command line with the value on standard input, for example:

    Terminal window
    Get-Content -Raw C:\secure\cloud-secret.txt | & 'C:\Program Files\Mideye\mideye.exe' cp set-secret /connection/cloud/clientSecret
  • Sign-in to Mideye Cloud failed is event 2010; backend not reachable is event 5810. See Troubleshooting.