Polivor

Sign-in and identity providers

People sign in to the console; agents and enforcement points use API keys. A user belongs to one tenant and has a role: viewer, approver or admin.

Sandbox

Access to a sandbox is by request: ask for access and, if it fits, we set up a sandbox with synthetic data and invite you. An invited person signs in by email link, Google or Microsoft, and accepts the sandbox terms at the first sign-in. Signing in creates nothing: an address or an account that was not invited gets no workspace. A sandbox identity cannot reach a production tenant: the two share no users, keys or issuers.

  • Google needs the email to be verified by Google.
  • Microsoft work and school accounts are accepted only when Microsoft confirms the owner of the email domain. Personal Microsoft accounts are accepted as they are.
  • A person who signed in by email keeps the same user when they sign in with Google or Microsoft with the same verified address: that sign-in method is added to the same user.

Production: your own identity provider

A production tenant signs in through the customer's own identity provider, over OpenID Connect or SAML 2.0 (Microsoft Entra ID, Okta, Google Workspace, Keycloak, ADFS and similar). There is no password and no email link.

  1. Register Polivor in your provider as a web application. The redirect URI is shown on the Sign-in page of the console, in the steps for your provider: copy it from there. It is the address you open the console on followed by /console/signin/callback (for example https://app.polivor.com/console/signin/callback), so that after signing in you stay on that address. Use the authorization code flow; Polivor uses PKCE. Note the client id and secret.

  2. Register the provider with an admin API key:

    POST /v1/identity-providers
    {"name":"Acme Entra","issuer":"https://login.microsoftonline.com/<tenant-id>/v2.0",
     "client_id":"...","client_secret":"...","client_secret_expires_on":"2027-06-30","domains":["acme.example"],
     "require_mfa":true,"required_claim":{"name":"tid","value":"<tenant-id>"}}

    Polivor fetches the issuer's discovery document and checks it. The secret is sealed and never shown again. The new provider is pending: it routes nobody and does not change how your admin signs in until it has been tested (step 4). The response may carry warnings: things the provider's own description says about the settings you chose, for example that it does not list the email claim or, when you require multi-factor sign-in, the amr claim. A warning never blocks the registration.

  3. Prove the domain. The response lists, for each domain, a TXT record to publish (record_host and record_value). Publish it, then call POST /v1/identity-providers/{id}/domains/{domain}/verify. Until a domain is verified it routes nobody, and a domain can be verified for one tenant only. The proof belongs to your tenant, not to one provider: a domain your company was onboarded with, or one you proved for an earlier provider, is verified at once, with no second record. Keep the record published.

  4. Test the sign-in. On the Sign-in page an admin presses Test the sign-in and signs in once through the provider with their work email. Only a successful sign-in makes the provider active; from then on people sign in through it and the admin API key no longer opens the console. If another provider served the same domains, the new one takes them over, and an old one left with no domain is disabled. A provider that is not tested within 7 days is disabled. The test needs an invited admin: the first administrator is invited when your tenant is created.

  5. Invite people with POST /v1/users (or the Users page). The address must be on a domain verified for one of your providers; otherwise the invitation is refused with INVITE_DOMAIN_NOT_VERIFIED, because that person could never sign in. Use the address they have at your provider.

A person enters their email on the sign-in page. If the domain is verified, they go to your provider; otherwise nothing changes. After the provider confirms them, Polivor matches the invited user, binds the provider's subject to them and starts a session. From then on the person is recognised by the subject, not the address.

SAML 2.0 instead of OpenID Connect

  1. Register Polivor in your provider as a SAML application. You need three values from Polivor, which the registration response lists under service_provider (and the metadata URL serves as XML): the entity id, the assertion consumer URL (POST binding) and the metadata URL. Polivor does not sign its requests and does not need encrypted assertions. Have the provider send the user's email address as the email (or mail) attribute, or use the email address as NameID, and a persistent NameID.
  2. Register the provider with protocol: "SAML" and its metadata, either pasted (saml_metadata) or as an https URL (saml_metadata_url). Polivor checks the metadata: one sign-on service over https, signing certificates that are strong and not expired, and no demand for signed requests. require_mfa and required_claim work here too: the multi-factor check looks at the authentication context of the assertion, or at an attribute http://schemas.microsoft.com/claims/authnmethodsreferences that contains mfa, and a required claim is an attribute name and value. Okta's SAML assertion does not report multi-factor by itself: give the application an authentication policy that requires two factors, then add an attribute statement with that name and the fixed value "mfa".
  3. Prove the domain, test the sign-in and invite people as above.

In the console

Admins of a production tenant can do all of this on the Sign-in page of the console instead of calling the API. The page guides the setup:

  • Choose your provider: Okta, Microsoft Entra ID, Google Workspace, another OpenID Connect provider, or SAML 2.0. You see the steps to take at that provider, with the redirect address filled in, and the form asks only for what that provider needs. For Entra it builds the issuer and the rule that only your tenant may sign in from the Directory (tenant) ID; for Google it builds the rule that only your Workspace domain may sign in. Menu names in the providers' own consoles change from time to time.

  • Follow the three steps shown on each provider: create the application at your provider (the values to enter are listed), prove your domain (the page looks for the DNS record by itself every 20 seconds and marks the domain verified when it finds it), and test the sign-in.

  • See how sign-ins go: per provider, the last successful sign-in, the last problem, and a count of the last 7 days by outcome (signed in, not invited, email not confirmed, multi-factor missing, and so on) with what to do about each. Only counts and reasons are kept, never names or addresses.

  • Sheet for your IT team: each provider has a page you can print or save as a PDF with every value your IT team enters at the provider and the DNS records to publish. It holds no secret.

  • Expiry warnings: give the date your client secret expires (Microsoft Entra secrets do; the SAML certificate date is read from the metadata) and all administrators get an email 30 days and 7 days before. The date is shown on the provider.

  • Renewing a secret or a certificate: on the provider, Replace the client secret (OpenID Connect) or Refresh the metadata (SAML, same entity ID) changes it in place: people, domains and sessions stay as they are. The same through the API: POST /v1/identity-providers/{id}/client-secret and POST /v1/identity-providers/{id}/saml-metadata.

  • A history of the latest changes is on the page. Viewers and approvers do not see it.

  • Secrets: the client secret is typed once, stored sealed and never shown again, not even in an error message.

  • Disabling a provider hands its domains to another active provider that lists them. It ends the console sessions of the people who signed in through it, unless another active provider has the same issuer. You cannot disable the provider you are signed in with if no other provider is active: add another first.

  • Other admins are told: adding or disabling a provider sends an email to the other administrators of the tenant.

  • Limits: at most 5 providers per tenant that are pending or active. Checking domains and adding providers is limited to ten actions in ten minutes.

  • Admin API key: a production tenant opens its console with an admin API key only until its first provider is active, so the first provider can be set up. From then on people sign in through the provider. A wrong key and a key that no longer opens the console get different messages, and wrong keys are limited per address.

  • If your provider cannot sign anyone in and the key no longer works, tell us: two of our operators together can open the console to your admin key again for one hour, and the change is recorded. Keep at least two active admins so one provider problem never locks you out.

  • To move to another provider (or another issuer), add the new one on the same domains and test it: it takes over. Settings such as multi-factor are not edited; a new provider with the new settings does the same.

  • Moving to a provider with another issuer (OpenID Connect to SAML, another Okta organisation, Okta to Microsoft Entra ID): the admin who clicks Test the sign-in signs in with their own work account, and that account is linked to them; only that admin can complete the test. When the new provider takes over, people are signed out of the old one once. Each person is then linked by their email on their first sign-in through the new provider, if every provider they used is gone and they come back within 30 days; after that, invite them again. A second account at the same provider is never linked. Each link is recorded as evidence and the person is told by email.

What Polivor checks

  • OpenID Connect: the ID token's signature with an allowed algorithm (RS256, PS256 or ES256), issuer, audience, authorized party, expiry, issue time and the nonce of this login.
  • SAML: a signature on the assertion or the response, issuer, audience, destination, expiry (60 seconds of clock skew), the request the response answers, and one use of each assertion.
  • The email is on a verified domain of this provider. If the token says email_verified is false, the sign-in is refused. If the claim is missing (Microsoft Entra ID never sends it), the sign-in is accepted unless you set require_confirmed_email, which also refuses a missing claim; turn it on if your provider lets people register themselves without confirming their email. For providers shared by many organisations (Google accounts, and Microsoft's common, organizations and consumers) it is always on unless you set a required_claim that ties sign-ins to one organisation. SAML has no such claim: the signed assertion is the check.
  • If you set require_mfa: the sign-in shows multi-factor authentication (OpenID Connect: amr contains mfa, or at least two methods; SAML: a multi-factor authentication context).
  • If you set required_claim: the token carries that claim with that value, for example tid for one Entra tenant or hd for one Google Workspace domain.
  • Nobody is created by signing in. A person who was not invited is refused.

Changes are recorded as evidence: idp.configured, idp.domain_verified, idp.activated, idp.expired, idp.expiry_warned, idp.secret_replaced, idp.metadata_refreshed, idp.disabled. A provider can be disabled with POST /v1/identity-providers/{id}/disable.

Errors are listed in Errors and limits.