All jobs / Solutions / cloud architect / Identity & Security

Solutions / cloud architect interview question · 1–3 years

A single-page app, a mobile app and a nightly batch job all need to call your API. Which OAuth flows fit?

The strongest answer

Authorisation code with PKCE for the browser and mobile apps, client credentials for the batch job; no long-lived secrets in anything a user can download

Why it works

Exactly. Public clients use code plus PKCE; machines use client credentials; secrets stay server-side.

What a good answer covers

Answers that fall short

Who gets asked this

More Identity & Security questions