Setup guide

Everything you need to put Captivo ID in front of your VPN, your directory, your identity provider and your applications. The product's screens show the same steps; this page is for reading ahead and sending to your team.

Getting started

  1. Create an account and your organisation. Whoever creates it is its owner.
  2. On the organisation page (Manage organisation) invite your people: one by one or by pasting a list (up to 200 addresses). The invitation link works for 7 days.
  3. Turn on the two-step rule: for all members, or for owners and admins only. A member without an authenticator is walked through setup at their next sign-in.
  4. Set roles: an Owner manages everything; an Admin manages members, applications and network devices; a Member only signs in.

Members and organisation settings

MFA for your VPN and firewall (RADIUS)

Your device asks Captivo ID: people enter their password, then the authenticator code. Someone removed from the organisation is out of the VPN too.

  1. On the organisation page: Network devices (RADIUS) → New device. Enter the public IP address the device reaches the internet from; requests from any other address go unanswered.
  2. Choose the transport: RadSec (TLS, recommended on FortiOS 7.4+) or UDP. With UDP the shared secret is shown once.
  3. Enter the settings below on your device. Set the timeout to at least 60 seconds, so people have time to read the code.
  4. Try it with a member. The result appears under Recent sign-ins on the device page, with the reason for any reject.
Serverradius.captivo.io
RadSec2083/TCP
RADIUS1814/UDP
MethodPAP (MS-CHAPv2 and EAP are not supported)
Timeout60 seconds

FortiGate, Cisco AnyConnect, Palo Alto, Sophos and OpenVPN Access Server can ask for the code in a separate box. On devices that cannot (pfSense/OPNsense OpenVPN, most admin logins) people type password,123456 into the password field.

Device settings

FortiGate over RadSec
config user radius
    edit "Captivo"
        set server "radius.captivo.io"
        set secret "radsec"
        set auth-type pap
        set transport-protocol tls
        set radius-port 2083
        set server-identity-check enable
    next
end
config user group
    edit "Captivo-VPN"
        set member "Captivo"
    next
end
config system global
    set remoteauthtimeout 60
end
FortiGate (SSL-VPN / IPsec)
config user radius
    edit "Captivo"
        set server "radius.captivo.io"
        set secret "<shared secret>"
        set auth-type pap
        set radius-port 1814
    next
end
config user group
    edit "Captivo-VPN"
        set member "Captivo"
    next
end
config system global
    set remoteauthtimeout 60
end
Cisco ASA / AnyConnect
aaa-server CAPTIVO protocol radius
aaa-server CAPTIVO (outside) host radius.captivo.io
  key <shared secret>
  authentication-port 1814
  timeout 60
tunnel-group <VPN> general-attributes
  authentication-server-group CAPTIVO
Palo Alto (GlobalProtect)
Device > Server Profiles > RADIUS > Add
  Server: radius.captivo.io  Port: 1814
  Secret: <shared secret>
  Authentication Protocol: PAP  Timeout: 60
Device > Authentication Profile: Type RADIUS, the profile above
GlobalProtect portal and gateway: that authentication profile
Sophos Firewall
Authentication > Servers > Add
  Server type: RADIUS server
  Server address: radius.captivo.io  Port: 1814
  Shared secret: <shared secret>  Timeout: 60
VPN > Remote access: use this server
pfSense / OPNsense (OpenVPN)
System > User Manager > Authentication Servers > Add
  Type: RADIUS  Protocol: PAP
  Hostname: radius.captivo.io  Authentication port: 1814
  Shared secret: <shared secret>  Timeout: 60
VPN > OpenVPN > Server: Backend for authentication = this server
People type: password,123456
MikroTik (RouterOS)
/radius add service=login,ppp address=<IP address of radius.captivo.io> secret="<shared secret>" authentication-port=1814 timeout=60s
/user aaa set use-radius=yes
/ppp aaa set use-radius=yes
Linux (SSH, pam_radius)
# /etc/pam_radius_auth.conf
radius.captivo.io:1814  <shared secret>  60
# /etc/pam.d/sshd (first line)
auth required pam_radius_auth.so

Device options

Let people sign in to the VPN with their Windows password, with the second step from Captivo ID. A small program (the RADIUS proxy) runs in your network: it asks your AD about the password, and the password never reaches Captivo.

  1. On the organisation page: Network devices → On-site Active Directory → Directory settings: the directory servers (LDAPS or StartTLS), the base DN, a read-only service account and, if you want, the allowed groups (nested membership counts).
  2. Install the proxy and connect it with the one-time enrolment key shown on screen: Docker or a Windows service. Two or more are recommended for redundancy. No inbound port to your network is needed.
  3. Register each VPN device under Devices on your network with Add a device: the internal IP address its requests reach the proxy from (e.g. 10.0.0.1). Enter the shared secret you are given (shown once) on the device, and give it the proxy's internal IP address, port 1812/UDP, as its RADIUS server instead of Captivo. The proxy asks AD about the password and Captivo ID for the second step.
  4. Optionally turn on auto-join: someone in an allowed AD group is invited at their first VPN sign-in and sets up their authenticator.

Docker

docker run -d --name captivo-radius-proxy --restart unless-stopped \
  -p 1812:1812/udp -v captivo-radius-proxy:/data \
  -e CAPTIVO_URL=https://id.captivo.io -e CAPTIVO_ENROL=<enrolment key> \
  captivoio/radius-proxy:latest

Windows service (administrator PowerShell)

.\captivo-radius-proxy.exe install --url https://id.captivo.io --token <enrolment key>

The proxy reports to Captivo ID every minute. If it is silent for five minutes or cannot reach AD, the organisation's owners and admins get an e-mail.

The enrolment key works for 1 hour; once it expires, get a New enrolment token from the proxy's row. An organisation can have at most 5 proxies and 50 devices on its network. Devices on your network have the same code-entry, role and message-language options as cloud devices.

Enterprise sign-in (SSO)

Let people sign in with their Microsoft, Okta or Google account. Captivo ID connects to your organisation's provider; your provider does the MFA and Captivo carries it to the products.

  1. On the organisation page: Enterprise sign-in (owner only). Choose your provider and follow the steps below.
  2. Verify your domain: add the TXT record you are given to DNS. Only addresses under a verified domain can sign in this way.
  3. Run the test sign-in; enterprise sign-in cannot be turned on until it passes.
  4. Choose the rules: auto-join, group → role mapping and, if you want, enterprise sign-in only (password sign-in is closed; the owner's break-glass password still works).

With enterprise sign-in only on, members have no Captivo password, so they cannot sign in to the VPN through Captivo ID (cloud RADIUS); the owner's break-glass password still works. Through the AD proxy your own AD checks the password, so the rule does not apply there.

Redirect URI (OIDC)https://id.captivo.io/sso/callback
ACS / Reply URL (SAML)https://id.captivo.io/saml/acs
Entity ID (SAML)https://id.captivo.io/saml/metadata
SP metadatahttps://id.captivo.io/saml/metadata
Microsoft Entra ID
  1. Entra admin centre → App registrations → New registration. Redirect URI type Web, value: the address below.
  2. Certificates & secrets → New client secret. The value is shown once; paste it here.
  3. Token configuration → Add optional claim → ID → tick email. For groups: Add groups claim → Security groups.
Okta
  1. Okta Admin → Applications → Create App Integration → OIDC, Web Application.
  2. Put the address below in Sign-in redirect URIs; paste the Client ID and Client secret here.
  3. Choose who may sign in under Assignments; for a groups claim: Sign On → OpenID Connect ID Token → Groups claim filter.
Google Workspace
  1. Google Cloud Console → APIs & Services → Credentials → Create OAuth client ID → Web application.
  2. Add the address below to Authorised redirect URIs; paste the client ID and secret here.
  3. Set the OAuth consent screen's user type to Internal: only your organisation's accounts sign in.
SAML 2.0
  1. Create a SAML application at your provider (ADFS: Relying Party Trust; Entra: Enterprise application → Single sign-on → SAML; Okta: SAML 2.0 app).
  2. Register the Entity ID and Reply/ACS address below there; make the NameID the e-mail address and send the e-mail, name and group attributes.
  3. Paste the provider's Entity ID, Login (SSO) URL and signing certificate here.
OpenID Connect
  1. Create an OIDC client (web application, authorization code + PKCE) at your provider.
  2. Register the address below as the redirect URI; paste the client ID and secret here.
  3. The ID token must carry the email and email_verified claims.

Automatic provisioning (SCIM)

Open a new hire's membership automatically and close a leaver's access at once. Entra ID and Okta write to Captivo ID over SCIM 2.0.

  1. On the enterprise sign-in page, create a SCIM token; it is shown once.
  2. Entra: Enterprise application → Provisioning → Automatic. Okta: the app → Provisioning → SCIM. The address and token are below.
  3. The people and groups you assign arrive in the organisation; someone unassigned loses the membership, and Captivo Portal and Access are told at once.
SCIM addresshttps://id.captivo.io/scim/v2
AuthenticationBearer token (HTTP Authorization header)

Only addresses under the organisation's verified domains are accepted. The discovery endpoints (ServiceProviderConfig, ResourceTypes, Schemas), the supported filters and the limits are in the developer documentation.

Your own applications

Let your organisation's web applications sign in with Captivo ID; the two-step rules and enterprise sign-in apply there too.

Access rules

Report, event stream, support and alerts

Your account

Each person's own settings are on the My account page; those about signing in and sessions are in its Security section. You can send this section to your team.

Stuck somewhere? Write to support@captivo.io; give support access from the organisation page and we will set it up with you.

← Account page