Skip to content

Stripe Identity, OAuth & Access Control interview questions

Identity, OAuth & Access Control is a core part of the Stripe AI Security Engineer loop. Authentication and sessions, phishing-resistant MFA, RBAC, ABAC and relationship-based authorization, OAuth 2 and OpenID Connect with their pitfalls, JWT validation, workload identity, secrets, and delegating a user's authority to an AI agent without creating a confused deputy. Questions tagged to Stripe come first. After them, the top-voted questions from the Identity, OAuth & Access Control track. Each answer reasons the way a senior security engineer would in front of a panel: attacker, asset, control, and where the control breaks.

WHAT STRIPE LOOKS FOR HERE · Application security. See the full Stripe interview process →

Identity, OAuth & Access Control questions tagged to Stripe

5 questions · 1 unlocked for you

More Identity, OAuth & Access Control questions for Stripe's loop

Sorted by reader votes. These are not tagged to Stripe; they cover the identity, oauth & access control ground its AI Security Engineer loop is known to test.

15 questions · 4 unlocked for you

Concepts behind Stripe's Identity, OAuth & Access Control round

The background these answers assume. Introductory lessons are free; advanced ones need Premium.

Foundational
Authentication versus AuthorizationAuthentication establishes who a caller is: a user, a service or an agent acting for someone. Authorization decides what that caller may do with a specific resource right now. They are separate checks that fail in separate ways. Most real access-control bugs are authorization failures on authenticated requests, and AI agents add a third question: on whose behalf is this action being taken?
Foundational
Access-Control Models: RBAC, ABAC and ReBAC in DepthEvery authorization model answers one question: may this subject perform this action on this resource, in this context? RBAC answers with roles and is easy to review but explodes when roles start encoding objects or context. ABAC evaluates attributes and is expressive but hard to audit. ReBAC follows relationships such as owner, member and parent folder, as Google's Zanzibar does at millions of checks per second. Real systems combine them, and the hard parts are deny semantics, list filtering, stale permissions and agents acting for users.
Foundational
Sessions, Cookies and TokensA session links later requests to authenticated state. Compare opaque identifiers, signed tokens, cookie protections and sender constraints, then test idle expiry, absolute expiry and revocation across caches and accepting services.
Foundational
OAuth 2.0 and PKCEOAuth 2.0 is a framework for delegated authorization: a user lets an application access a resource on their behalf, with limited scopes, without sharing their password. The authorization code flow sends the user to the authorization server, returns a short-lived code, and exchanges it for tokens. PKCE binds code redemption to a per-flow verifier: someone who steals only the code cannot redeem it. This is not proof of an installed app's identity. Current best practice uses the code flow with PKCE for every client type.
Core
Sign in
OpenID Connect and ID TokensOpenID Connect is an identity layer on top of OAuth 2.0. Alongside an access token for APIs, it returns an ID token: a signed JWT stating who the user is, who issued the statement, which client it is for, and when it expires. The client validates it and creates its own session. Confusing ID tokens with access tokens, or skipping audience and nonce checks, are the classic mistakes.
Foundational
The Confused DeputyA confused deputy is a program that holds authority and is tricked into using it on behalf of a less privileged party. The problem was named in 1988 and reappears in OAuth proxies, cloud services that act for customers, and, most sharply, in AI agents: a model holding a user's or a service's credentials can be steered by text from anyone. The fix is to make each action carry the authority of the party that requested it, not the deputy's own.
Advanced
🔒 Premium
Validating JWTs SafelyA JSON Web Token is a signed (sometimes encrypted) set of claims, whose safety depends on explicit verifier policy. Safe validation pins the allowed algorithm to each key, selects keys only from the configured issuer's key set, checks the token type, issuer, audience and time claims, treats header fields such as kid and jku as untrusted input, and keeps different token kinds mutually exclusive. Key rotation needs a schedule that accounts for cache lifetimes, token lifetimes and clock leeway.
Advanced
🔒 Premium
Sender-Constrained Tokens: DPoP, mTLS and Token ExchangeA bearer token is honoured for whoever presents it, so a leaked token is a working credential. Sender-constrained tokens carry a confirmation claim naming a key, and the resource server checks that the caller proves possession: DPoP with a signed proof per request, mTLS with the client certificate on the connection. Binding stops replay of an exfiltrated token; it does not stop code that runs where the key is, or a forged token. Token exchange (RFC 8693) issues each hop a new, narrower, audience-bound token instead of passing one along.
STRIPE IDENTITY, OAUTH & ACCESS CONTROL FAQ
What Identity, OAuth & Access Control questions does Stripe ask in interviews?▲

Stripe's AI Security Engineer loop draws identity, oauth & access control questions such as "Server sessions or bearer tokens: how do you choose, and how do you secure each?", "What can go wrong when validating a JWT, and how do you validate one correctly?", "How do deepfakes defeat remote identity verification, and what is the difference between presentation and injection attacks?". Authentication and sessions, phishing-resistant MFA, RBAC, ABAC and relationship-based authorization, OAuth 2 and OpenID Connect with their pitfalls, JWT validation, workload identity, secrets, and delegating a user's authority to an AI agent without creating a confused deputy. Every question in the topic is listed below from easiest to hardest, each with a worked answer.

How should I prepare for the Stripe Identity, OAuth & Access Control round?▼
Does Stripe hire security engineers?▼
What is the Stripe security engineer interview process?▼

Other Stripe interview rounds

The other tracks Stripe's AI Security Engineer loop tests.

Prep the whole Stripe AI Security Engineer loop

Identity, OAuth & Access Control is one round. Unlock every answer across Stripe's full loop with Premium. Free questions in every track let you try the depth first.

Every worked answer in all 17 topics, every lesson in every course, the full concept curriculum, the complete practice-test bank, and the downloadable security field guides.

6 months · One payment · No auto-renewal

Independent and not affiliated with Stripe. All trademarks belong to their owners.