The Simplest Way to Make Webauthn and Zscaler Work Like They Should
You pair webauthn and zscaler to verify user hardware keys before opening private network routes. This setup replaces weak passwords with strong cryptographic checks during every single login. Teams use this workflow to protect internal apps and databases from stolen credentials. A user touches a physical security key or uses a device sensor to sign in. The identity provider checks that signature and tells the network edge who the user is. Then the network router opens a private path to the rig
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 webauthn and zscaler to verify user hardware keys before opening private network routes. This setup replaces weak passwords with strong cryptographic checks during every single login.
Teams use this workflow to protect internal apps and databases from stolen credentials. A user touches a physical security key or uses a device sensor to sign in. The identity provider checks that signature and tells the network edge who the user is. Then the network router opens a private path to the right internal service.
How login checks and data flow between webauthn and zscaler
The login flow starts when an engineer tries to reach an internal tool. The client agent on the laptop pauses the request and asks for an identity check. It sends the user to your central identity provider to log in.
Your identity provider runs the browser standard to talk to the user key. The browser creates a challenge and sends it to the local hardware token. That token signs the challenge with a private key stored on the device. The private key stays locked inside the hardware chip at all times.
The identity provider checks the signed challenge using the public key on file. Notice that the network router does not read the hardware key on its own. It relies on an identity provider using standard federation protocols to run the check. Once the check passes, the identity provider sends a signed assertion to the network client.
The client agent reads the group claims inside that assertion. It then builds a secure tunnel to the right private app segment. Data flows from the user device through the cloud edge to the internal server. Each layer handles one job and passes trust to the next step.
Common failure modes and how to scope network paths
Many teams set up strong login checks but leave huge gaps inside the network. The biggest risk happens when the network edge opens broad subnet routes after login. A user passes one hardware check and gets full reach to every database server. If malware runs on that laptop, it can scan the whole internal network.
FIDO2 / WebAuthn + End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Shared database accounts create a second major blind spot for security teams. The network client logs which user opened the network tunnel to a database host. Still, five engineers might still log into that database using one admin password. The database log shows the shared role name instead of the real person.
Long session timers also weaken strong hardware login rules in production. If a network token lasts for days, a stolen laptop stays logged in. Attackers can run database queries over the open tunnel without touching the hardware key.
You can fix these gaps by scoping network paths to single ports and hosts. Map each identity group to one specific app segment instead of a whole subnet. Set your identity provider to ask for a fresh key tap for sensitive apps. Shorten client session timers so idle tunnels close on their own.
Next, match your network identity claims with your database and server roles. Stop sharing single admin passwords across your engineering team. Give every user a distinct role with the bare minimum read or write rights. Keep clear logs of every command and query tied to that user identity. When you want to mask sensitive fields, rewrite emails and card numbers in query results.
Add runtime guardrails and masking beside your databases and APIs
Login rules, role grants, and CI checks govern who connects to your stack. Yet any allowed script, engineer, or AI agent still runs commands with the full scope of its role. For workloads on Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes, SSH, or internal HTTP services, hoop.dev sits beside the service as an open-source proxy, a sidecar for your database or API.
Before a query runs, hoop.dev guardrails check the statement against your rules. An AI Analyzer you configure can score intent or hold risky calls for human review. Next, hoop.dev data masking rewrites sensitive fields in responses, and each verdict is logged per listener. Explore the MIT-licensed project on GitHub.
Frequently asked questions
Does Zscaler verify WebAuthn hardware keys on its own?
No, the network service sends login requests to your external identity provider. The identity provider checks the hardware key and returns a signed login token.
How often do engineers need to tap their security key?
You set the timer inside your identity provider and client policy rules. Most teams ask for a fresh tap once a day or before sensitive tasks.
Why do database logs still show shared user names after setup?
Network tools only check identity at the transport layer before opening a route. You still need database role rules to tie each query to a person.
Related guides
In this post