The Simplest Way to Make Fortigate and SAML Work Like They Should
You pair fortigate and saml to let users log into your network with one identity. This setup links your firewall rules directly to your central login provider. Teams use this workflow to stop sharing local firewall passwords across groups. When a worker logs in, the firewall checks their group role before opening network paths. This keeps user rules in one place and cuts down manual account work. How fortigate and saml handle logins and permissions In a standard setup, the firewall acts as t
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.
You pair fortigate and saml to let users log into your network with one identity. This setup links your firewall rules directly to your central login provider.
Teams use this workflow to stop sharing local firewall passwords across groups. When a worker logs in, the firewall checks their group role before opening network paths. This keeps user rules in one place and cuts down manual account work.
How fortigate and saml handle logins and permissions
In a standard setup, the firewall acts as the service provider for your network. Your central directory acts as the identity provider that holds all user accounts. When an engineer tries to log into the VPN, the firewall pauses the request. It sends the user over to the identity provider to prove who they are.
The user enters their password and completes a multi-factor check on that login page. Once they pass, the identity provider builds a signed XML message called an assertion. This message holds the user email, their name, and their assigned security groups. The browser sends this signed message right back to the firewall.
The firewall checks the digital signature using a public key you loaded earlier. If the signature matches, the firewall reads the group names inside the message. It matches those group names to local firewall policies and lets the user in. Now the user can reach internal servers that match their specific job role.
Common failure modes and how to scope network paths
Many teams set up this link but still leave broad network rules in place. A common mistake is mapping every valid login to one wide network group. Once a user passes the login check, they can reach every internal server and database. If an attacker steals one session, they can move across your whole private network.
Attribute mismatches also break logins and frustrate engineers during busy work hours. If the identity provider sends a group name in the wrong format, the login fails. Expired signing certificates cause sudden outages for the whole team at once. Teams often keep a shared local admin account active as a backup for these outages. That shared admin password creates a huge security gap with no clear audit trail.
SAML 2.0 + End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
To fix this, map each identity group to a tight firewall role. Give your database team a role that only opens paths to database ports. Give your web team a separate role that only reaches web servers. Turn off shared local admin accounts during normal daily operations.
Why network login checks fall short for data security
Linking your firewall to an identity provider only solves the first step of network entry. Once the firewall opens the port, it stops checking what the user does inside. Two engineers in the same group get the exact same network reach. The firewall log shows that a user opened a port, not what queries they ran.
When someone runs a database query, the firewall cannot read or filter that command. It cannot rewrite sensitive fields like emails, phone numbers, card numbers, or national IDs. To get real control, you need to check permissions at the command level too. You should tie every single query and server command back to a verified user identity.
Check database and API queries on the wire
Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.
Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.
Frequently asked questions
Why does my firewall reject the login message from my identity provider?
This usually happens when the system clocks drift apart or the signing key expires. Make sure both systems use the same time server and check your loaded certificates.
Can I use multi-factor checks with this firewall login flow?
Yes, your identity provider runs the multi-factor check before sending the signed login message. The firewall waits for that full check to finish before it opens any network ports.
How do I limit what users can do after they log into the VPN?
Send specific group attributes in the login message and match them to strict firewall rules. For deeper control over server commands and database queries, add a tool that checks requests per session.
Related guides
In this post