Can You Have SSO Without SAML
Yes, can you have sso without saml is a question with a simple answer. Teams use OpenID Connect, OAuth 2.0, or Kerberos for single sign-on every day. SAML is an older login standard built around XML files and web browsers. Many modern apps, tools, and AI agents use lighter web protocols instead. You do not need SAML to share one login across your company. How can you have sso without saml in practice Single sign-on is a goal, while SAML is just one protocol. The goal is letting users log in
SAML 2.0 + Cross-Domain SSO: the complete guide
Architecture patterns, implementation strategies, and security best practices. Delivered to your inbox.
Yes, can you have sso without saml is a question with a simple answer. Teams use OpenID Connect, OAuth 2.0, or Kerberos for single sign-on every day.
SAML is an older login standard built around XML files and web browsers. Many modern apps, tools, and AI agents use lighter web protocols instead. You do not need SAML to share one login across your company.
How can you have sso without saml in practice
Single sign-on is a goal, while SAML is just one protocol. The goal is letting users log in once to open many tools. OpenID Connect, often called OIDC, is the main modern choice for this job.
OIDC sits on top of the OAuth 2.0 framework. Instead of heavy XML data, OIDC sends compact JSON web tokens. These tokens carry the user identity, email, and group roles in a small text string.
When an engineer logs in, the identity provider checks their password and second factor. Then the provider sends a signed JSON token back to the app. The app checks the cryptographic signature to trust the user identity right away.
This setup works well for native mobile apps, single-page web apps, and command-line tools. SAML relies on browser redirects that break inside a terminal or background script. OIDC supports device login flows that work cleanly inside a local terminal window.
AI agents and automated scripts also benefit from non-SAML login flows. An AI agent cannot click through a browser redirect page on its own. Instead, the agent uses OAuth machine flows to trade a client key for a token.
Some older internal networks also use Kerberos or directory tools for single sign-on. Kerberos uses encrypted tickets to let users open internal servers on a local network. Still, most cloud teams now pick OIDC because it works over standard web traffic.
Security and operational tradeoffs after the login check
Moving from SAML to OIDC makes app setup much faster for engineering teams. JSON tokens are easy to read, check, and debug when a login fails. Yet both SAML and OIDC share the exact same operational blind spot.
SAML 2.0 + Cross-Domain SSO: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Both protocols only check who a user is at the front door. Once the login check passes, the protocol hands off control to the target system. That system often maps the user or AI agent to a broad static role.
For example, an engineer might log in with OIDC to open a production database. After login, the database assigns them a shared read-write role for the whole session. The login protocol cannot see which queries run inside that open database session.
Static keys and broad roles leave sensitive data exposed during active work. If an AI agent gets a valid token, it can run broad table reads. Standard SSO logs only show that the agent logged in at a certain time.
Those logs do not show if someone pulled customer emails or card numbers. They also cannot stop a bad drop command inside an active database session. To protect data, teams need query-level checks and data masking that rewrite matched fields.
Choosing the right login standard for your stack
Most new software projects should start with OIDC for user and machine login. It handles web apps, command-line tools, and AI agents with one clean standard. You only need SAML when an older enterprise vendor refuses to support OIDC.
Many identity providers let you run both protocols side by side. You can use SAML for legacy corporate apps and OIDC for engineering tools. Still, remember that login protocols only solve the first step of security.
True control requires watching and filtering what happens after the user logs in. Masking rules that rewrite phone numbers and national IDs in results keep data safe. Pairing modern login standards with action-level controls gives your team full protection.
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
Is OpenID Connect safer than SAML for single sign-on?
Both standards are safe when your team sets them up the right way. OIDC is often easier to secure because JSON tokens are simpler than XML signatures. Simpler code means fewer setup mistakes by your engineering team.
Can OAuth 2.0 do single sign-on by itself?
OAuth 2.0 is built for permission sharing, not for checking user identity. It tells an app what a user can do, not who they are. You should add the OIDC layer on top of OAuth for true single sign-on.
How do AI agents log in without SAML?
AI agents use OAuth client flows or workload identity tokens to log in. These flows run over standard web APIs without needing a human web browser. Even with token login, teams must still restrict what commands the agent can run.
Related guides
In this post