The Simplest Way to Make Looker and Oam Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Looker and OAM work together by linking central user logins to business analytics dashboards. This setup lets teams run data queries using their normal company identity. Looker turns raw database tables into visual charts and reports for your team. Oracle permissions Manager, or OAM, checks user logins and manages single sign-on across apps. When you pair them, staff log in once to view approved business metrics. Security teams keep one central place to add or remove user accounts. How looker

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.

Looker and OAM work together by linking central user logins to business analytics dashboards. This setup lets teams run data queries using their normal company identity.

Looker turns raw database tables into visual charts and reports for your team. Oracle permissions Manager, or OAM, checks user logins and manages single sign-on across apps. When you pair them, staff log in once to view approved business metrics. Security teams keep one central place to add or remove user accounts.

How looker and oam handle user logins and data flow

First, a user opens the analytics app in a web browser. The analytics app sends the browser over to the OAM login page. OAM checks the user password and runs a multi-factor login check. After a pass, OAM sends a signed assertion back to the analytics app.

That message holds the user identity and group names from the directory. Looker reads those group names and maps them to internal user roles. Each role sets which dashboards, models, and rows the person can read. Then the analytics tool sends SQL queries to the backing data store.

Data flows back to the user screen as charts and tables. When a person leaves the team, admins disable the account in OAM. That single change blocks the user from logging into the analytics portal right away.

Common failure modes and how to scope roles

Many teams stop after they set up single sign-on for their users. The analytics tool still talks to the database using one shared service account. Every dashboard query runs under that single database user name and password.

This shared account needs wide read permissions across many tables to serve all teams. If one analyst has a bad role setup, they might query restricted tables. Database logs only show the shared service account, not the real human user. Security teams cannot tell which person ran an export on sensitive rows.

End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Broad group mappings between OAM and the analytics app also cause trouble. If an OAM group grants admin rights by mistake, users get full model control. You can fix this by splitting OAM groups by job duty and data tier. Map finance groups only to finance models and support groups only to support views.

You should also pass user attributes from OAM into the analytics session. The analytics tool can put those attributes into SQL comments or row filters. Row filters limit query results based on the department or region of the user. Network teams should also lock down traffic between the analytics host and databases.

Managing direct database queries and sensitive fields

Even with clean dashboards, data engineers and analysts still need direct database permissions. They log in with local SQL clients to build models or fix slow queries. OAM handles web app logins, so it often misses these direct database sessions.

Teams end up handing out static database passwords to analysts for local testing. Those passwords live on laptops and bypass your central login rules. Also, raw tables often hold sensitive fields like emails, phone numbers, or card numbers.

Analysts testing a join do not need raw national IDs in their query output. Data masking rewrites matched fields in results before they reach the client screen. Pairing identity checks with query logging keeps both dashboard work and direct SQL safe.

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 do OAM groups map to Looker permissions?

OAM sends user group names inside the login assertion during single sign-on. Looker reads these group names and links them to specific internal roles. Those roles control which data models and folders the user can open.

Why do database logs miss the Looker user identity?

Looker usually connects to the database with a single shared service account. The database only sees that shared account name unless you pass user attributes. Adding user identity tags to queries helps audit logs track individual analysts.

How can teams protect sensitive fields during SQL model testing?

Teams can apply dynamic data masking on the database path for test queries. Masking rewrites matched fields like emails, phone numbers, and card numbers in results. Analysts can verify query logic and schema joins while sensitive values stay masked.

The query runs. The emails stay hidden.