Other templates
The templates on this page are in the catalog (Access ▸ Applications ▸ Add application) and work with OkYouIn’s RADIUS, SAML or Verify API side as documented. What they have not had is a run against the real product in our lab. In the console they say so: “Not verified in lab yet — instructions are based on vendor documentation.”
For each template, the application’s Connect tab shows the full steps and snippets with your own values filled in. The summaries below are the essentials and the caveats.
Checking a RADIUS template yourself
Section titled “Checking a RADIUS template yourself”Three checks apply to every untested RADIUS template:
- Timeout. Set the device’s RADIUS timeout to 60 seconds, or a push cannot be approved in time.
- NAS-Identifier. If the application has a NAS-Identifier in Settings, the device must send exactly that value — and Message-Authenticator — in every request, or OkYouIn ignores it. If the device cannot, clear the NAS-Identifier: OkYouIn then identifies the device by its source address.
- BlastRADIUS mode. Standard (the default) accepts a request without Message-Authenticator. To find out whether the device sends one, switch to Strict, sign in once and look at Logging ▸ RADIUS log ▸ Dropped packets: a drop listed as No Message-Authenticator means it does not — switch back to Standard.
VPN and network
Section titled “VPN and network”Cisco ASA / AnyConnect (RADIUS)
Section titled “Cisco ASA / AnyConnect (RADIUS)”AnyConnect remote access through an ASA AAA server group. The ASA sends no NAS-Identifier, so
the application is created without one and OkYouIn identifies the ASA by its source address — do
not set one. With First factor: OkYouIn checks password, AnyConnect shows OkYouIn’s challenge
prompt for the second factor. For MFA only, your existing server group (LDAP, LOCAL) stays
primary and OkYouIn becomes the secondary server: AnyConnect shows a second password field and
the ASA sends only that field to OkYouIn (not verified). Reply attributes include
ASA-Group-Policy, Filter-Id, Framed-IP-Address, Session-Timeout and Idle-Timeout. The
ASA’s own test aaa-server authentication command checks the connection. Accounting is not
verified; the ASA sends Interim-Update on its own timer, so leave the application’s Interim
interval empty. ASA 9.23(1) and later can require Message-Authenticator on replies; OkYouIn signs
every Access-Accept and Access-Reject.
Check Point Remote Access (RADIUS)
Section titled “Check Point Remote Access (RADIUS)”Endpoint / Harmony remote access VPN with a RADIUS server object in SmartConsole (RADIUS Ver. 2.0,
PAP), added to the gateway’s VPN client authentication. Raise the RADIUS timeout to 60 seconds
(radius_connect_timeout in GuiDBedit). Check Point does not document sending a NAS-Identifier:
if logins time out while one is set in Settings, clear it. Check Point sends no client
address, so network conditions in rules do not match. MFA only, the Endpoint Security client’s
challenge prompt, RADIUS groups and accounting (which needs Office Mode addresses from the RADIUS
server) are all unverified.
Palo Alto GlobalProtect (RADIUS)
Section titled “Palo Alto GlobalProtect (RADIUS)”GlobalProtect portal and gateway with a RADIUS authentication profile (PAP, timeout 60). PAN-OS sends the authentication profile name as NAS-Identifier and has no other setting for it, so name the profile after the application’s NAS-Identifier. Raise the GlobalProtect authentication timeout to 120 seconds and set Save User Credentials to Save Username Only (a saved password cannot answer a new challenge). PAN-OS cannot check its own password and then ask RADIUS only for the code: use OkYouIn checks password; MFA only checks no password at all, so use it only when the portal also requires a client certificate. PAN-OS sends no RADIUS accounting for GlobalProtect and no Calling-Station-Id, so there is no Sessions tab data and network conditions do not match.
Palo Alto GlobalProtect (SAML)
Section titled “Palo Alto GlobalProtect (SAML)”GlobalProtect with a SAML authentication profile, PAN-OS as the service provider. Written from
Palo Alto’s PAN-OS 11.x documentation; no Palo Alto firewall has been in our lab, so check the
names against your PAN-OS version. The SP values carry the port as PAN-OS sends them:
https://<portal FQDN>:443/SAML20/SP (entity ID) and …/SAML20/SP/ACS (ACS). Import OkYouIn’s
metadata into a SAML Identity Provider server profile; with OkYouIn’s self-signed certificate
leave Validate Identity Provider Certificate off. The authentication profile uses the
username and groups attributes. The IdP server profile holds one certificate: re-import it
right after Activate next, or put the application on its own certificate.
Citrix NetScaler (RADIUS)
Section titled “Citrix NetScaler (RADIUS)”NetScaler Gateway / ADC with a RADIUS authentication action and policy bound to the Gateway
virtual server. -radNASid sends the application’s NAS-Identifier; do not enable -radNASip
(it makes NetScaler ignore the NAS-Identifier). -callingstationid ENABLED sends the user’s IP so
network conditions work. According to the vendor, NetScaler 14.1 build 43 and later send
Message-Authenticator in every Access-Request; on older builds leave the NAS-Identifier empty or
their requests are dropped. -authTimeout 60 gives the user a minute to approve a push. MFA only
in an nFactor flow, accounting and the Citrix-User-Groups reply attribute are unverified.
Generic RADIUS
Section titled “Generic RADIUS”For any RADIUS client without a template of its own: add OkYouIn as a RADIUS authentication server, set the timeout to 60 seconds, point the login (VPN, admin, PPP) at it and test with one user. Turn on Message-Authenticator on the device if it can. For MFA only, make sure OkYouIn receives only the code field (or nothing) in User-Password — never the user’s local or directory password; check what the device sends before you rely on it. Accounting, if the device supports it, goes only to the login that uses OkYouIn, with the same NAS-Identifier, and must be non-fatal. The template declares no client address: network conditions in rules do not match unless you verify otherwise.
Web and SaaS (SAML)
Section titled “Web and SaaS (SAML)”Generic SAML
Section titled “Generic SAML”Any SAML 2.0 service provider. In the SP, add a new identity provider and import OkYouIn’s
metadata URL, or enter the entity ID, SSO URL and certificate by hand. Register the SP’s ACS URLs
in the application (or Import SP metadata): OkYouIn answers only to a registered ACS URL. The
default attributes are email, firstName and lastName. The metadata lists the next signing
certificate ahead of a rotation; an SP that pins the certificate must get the new one before
Activate next.
Microsoft 365
Section titled “Microsoft 365”Federates an Entra ID domain to OkYouIn as its SAML identity provider (entity ID
urn:federation:MicrosoftOnline), configured with Microsoft Graph PowerShell
(New-MgDomainFederationConfiguration, Domain.ReadWrite.All) on a verified domain. The NameID is
each user’s objectGUID in ImmutableID form, which must match the user’s onPremisesImmutableId
in Entra ID — so users come from an on-premises Active Directory that OkYouIn reads. OkYouIn checks
the password on its own sign-in page; cloud-only admin accounts keep signing in directly. The
template sends IDPEmail and Microsoft’s MFA claim when the sign-in counted an MFA. Federating a
domain changes how every user of it signs in: try it on a test domain first.
Google Workspace
Section titled “Google Workspace”The third-party SSO profile of Google Workspace via SAML. The template starts with entity ID
google.com, an ACS URL of the form https://www.google.com/a/example.com/acs (replace with your
domain) and the e-mail address as NameID. Add OkYouIn as the identity provider in the Google admin
console from its metadata (entity ID, SSO URL, certificate), and register the ACS URL in the
application.
Your own application
Section titled “Your own application”Custom app (API / SDK)
Section titled “Custom app (API / SDK)”Your application’s server asks OkYouIn for the second factor through the
Verify API: POST /api/v1/verify/start with the username (and
the password when the first factor is Password), then poll or send the typed code until the result
is allow or deny. The key is a Bearer token kept in your server’s secret store, and the API is
HTTPS-only. The template has no lab record against a customer application yet.