OAuth.
OAuth 2.0 is the standard authorisation framework for delegated access: a user grants an application limited access to their resources without sharing credentials, through tokens with defined scopes and lifetimes.
Where OAuth fits on a long engagement.
Flow selection is the decision that determines whether an implementation is secure. Authorisation code with PKCE is correct for web and mobile applications; implicit flow is deprecated and still present in older code; client credentials is for service-to-service with no user involved. Using the wrong one is a security defect rather than a style choice.
Token storage is where browser implementations most often fail. Access tokens in local storage are readable by any script on the page, which makes a cross-site scripting flaw into full account compromise. Memory plus an HTTP-only refresh cookie is the safer pattern and is more work.
What an assigned team does with OAuth.
Scope discipline is routinely poor. Applications request broad permissions because it avoids a second consent later, which means a compromised token grants far more than the application needed.
Requesting the minimum and escalating when required is the correct approach, and it is the standard held by assigned specialists under outsource software development services.
What we use OAuth for.
- The correct flow for the client type Authorisation code with PKCE rather than a deprecated flow carried forward.
- Tokens stored safely Memory and HTTP-only cookies, so a scripting flaw is not account compromise.
- Minimum scopes requested Narrow permissions escalated on need, limiting what a stolen token grants.
How OAuth capacity is assigned.
Authentication work is assigned inside development capacity, with flow and token handling reviewed as security decisions rather than integration details.
Tell us what your roadmap needs OAuth for.
A service delivery manager replies with the disciplines we would assign, the monthly capacity and what the first month looks like.
Loading the contact form… You can also email hello@azendo.co.
We reply within one working day. No obligation, and no newsletter.