The Simplest Way to Make Domino Data Lab and OIDC Work Like They Should
Domino Data Lab and OIDC work together to verify user identity in production. This pairing lets data teams log in once and run models with clear rules. Data scientists need fast ways to reach notebooks, jobs, and raw data sets. Security teams need to know who ran each job and what data changed. Tying your login provider to your data science platform solves this core problem. You stop managing local passwords and start using central group rules for every project. How domino data lab and oidc h
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.
Domino Data Lab and OIDC work together to verify user identity in production. This pairing lets data teams log in once and run models with clear rules.
Data scientists need fast ways to reach notebooks, jobs, and raw data sets. Security teams need to know who ran each job and what data changed. Tying your login provider to your data science platform solves this core problem. You stop managing local passwords and start using central group rules for every project.
How domino data lab and oidc handle user logins and roles
OpenID Connect sits on top of OAuth two to verify who a user is. When an engineer opens the platform, the app sends them to the identity provider. The user logs in there and gets a signed token with their group claims. The platform reads those claims to set up project roles and compute limits.
This flow keeps passwords out of the data science tool at all times. Your central directory holds the source of truth for every single team member. When someone leaves the company, you turn off their account in one central place. Their active sessions stop working as soon as their current login token expires.
Tokens can also pass identity details down to the data sources your models read. A notebook job can use the user token to ask for database read rights. This links the login step to the actual work done inside the cluster. Admins see a clean chain of identity from the browser to the compute node.
Common failure modes with shared accounts and broad tokens
Login verification at the front door does not fix every data security gap. Many teams still store shared database accounts inside project files or shared variables. Once a user logs in via OIDC, their code runs with those broad keys. Every person on the project shares the same wide database role in production.
This setup breaks audit trails at the database level during model training runs. The database log shows one shared service account running thousands of read queries. You cannot tell which data scientist ran a specific query from a shared notebook. If a script pulls sensitive rows, you have no way to trace the user.
End-to-End Encryption + K8s OIDC Authentication: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Long-lived refresh tokens create another big risk inside shared compute nodes and containers. If a token sits on disk, another script in the workspace might read it. Teams also tend to grant broad group roles so jobs do not fail. Over time, every researcher ends up with write rights to production tables.
Scoping roles and network paths between systems
To fix this, map identity groups to narrow roles with strict time limits. Keep token lifetimes short so stolen keys expire before an attacker can use them. Separate dev notebooks from production model runs using distinct identity groups and network paths.
Never let compute pods reach production data stores without checking the active user role. Enforce column rules so scripts do not pull raw emails or phone numbers. Masking rewrites matched fields like card numbers or national IDs in query results. This keeps sensitive values out of notebook outputs and model training cache files.
Log every query along with the user identity claim from the login token. Check these logs often to find unused roles and tighten group rules over time. When you pair strict identity checks with query logs, teams build models safely.
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
How does OIDC differ from SAML for data science platforms?
OIDC uses lightweight JSON tokens and works well with modern APIs and CLI tools. SAML uses heavy XML messages and fits older browser login flows better.
What happens to running jobs when an OIDC token expires?
Short jobs finish normal runs, while long jobs need a safe refresh flow. You should scope refresh rules tightly so background jobs do not hold endless rights.
How do we stop notebooks from leaking raw customer data?
Apply data masking in the path between the compute node and the database. Masking rewrites emails, phone numbers, and card numbers before results reach the notebook.
Related guides
In this post