The Simplest Way to Make Fortigate and Onelogin Work Like They Should
Using fortigate and onelogin together lets teams check user identity before opening network paths. OneLogin acts as the identity source while FortiGate enforces network rules and VPN entry. This pairing stops teams from managing local firewall accounts on every single appliance. When a worker leaves the company, disabling their OneLogin profile cuts off network entry right away. Admins can also require multi-factor checks before any VPN tunnel comes up. How fortigate and onelogin pass identit
Your coding agents run with your access.
Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.
Using fortigate and onelogin together lets teams check user identity before opening network paths. OneLogin acts as the identity source while FortiGate enforces network rules and VPN entry.
This pairing stops teams from managing local firewall accounts on every single appliance. When a worker leaves the company, disabling their OneLogin profile cuts off network entry right away. Admins can also require multi-factor checks before any VPN tunnel comes up.
How fortigate and onelogin pass identity and permissions
The link between fortigate and onelogin usually runs over SAML or RADIUS protocols. When an engineer starts a VPN session, FortiGate redirects the login prompt to OneLogin. The user enters their name, password, and second factor inside the OneLogin portal.
Once the user logs in, OneLogin sends a signed message back to the firewall. This message includes the user identity and any group attributes mapped to that profile. FortiGate reads those group attributes and matches them against its own internal firewall policies.
A user in the database team gets network routes to the database subnet. A user in the web team only gets routes to web servers. The firewall drops all other traffic that does not match the assigned group rules.
Common failure modes and how to scope network paths
Many teams set up the initial link well, yet leave their network paths too wide. Once a user passes the OneLogin check, the firewall often gives broad subnet reach. That means a valid VPN user can touch every database or server on that subnet.
Group mapping drift is another common issue for growing engineering teams. If OneLogin group names change, the firewall rules may fail to match the user. When rules fail to match, admins often fall back to shared accounts to fix urgent outages. Shared accounts break your audit trail because logs no longer show who ran what command.
OneLogin + End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Network logs also miss what happens inside an encrypted database or server session. The firewall sees packets going to a port, but it cannot read the queries inside. If an engineer runs a bad delete statement, the network log will not show it.
Scoping roles and network paths between both systems
To keep this setup safe, map narrow OneLogin roles to tight firewall policies. Create distinct groups for each job function rather than one big group for all engineers. Restrict each firewall policy to the exact IP addresses and ports that specific role needs.
Set short session timeouts on the firewall so users must log in again each work day. This forces FortiGate to check OneLogin for fresh group status and active user accounts. Never keep local fallback passwords enabled on the firewall for standard engineering staff. Keep only one break-glass admin account stored in a safe vault for emergencies.
Review your OneLogin attribute mappings and firewall rules every quarter. Remove old groups and drop unused network routes before they become a security risk. Pair your network logs with database and server logs to see the full user trail.
Govern statements and responses across databases and APIs
Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.
First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.
Frequently asked questions
Should we use SAML or RADIUS to link these two tools?
SAML is best for modern VPN and web logins because it supports full browser multi-factor prompts. RADIUS works well for older clients, though it handles complex push prompts less well.
What happens if a user changes teams in OneLogin during an active VPN session?
FortiGate checks group attributes at login time, so active sessions keep their current rules until they end. You must kill the active VPN session on the firewall to force a fresh group check.
Can FortiGate log the exact database queries a user runs over the VPN?
No, the firewall only logs network packets, IP addresses, ports, and connection times. You need database logging or session tools to see the actual queries and results.
Related guides
In this post