Scrivio Interview library
LeadershipPrincipal5 min read · updated 12 November 2026

OAuth and identity standards have changed several times in 15 years (implicit flow, then PKCE, then BFF recommendations, now passkeys). How should a company keep its identity posture current without constant rewrites?

We make change cheap instead of trying to predict it. Protocol handling lives in the identity provider and a few shared libraries, so a new recommendation is implemented in a few places rather than in every application. A named owner tracks standards bodies and security guidance and runs a yearly review, applications stay on supported framework versions so they inherit safer defaults, deprecated flows are phased out with inventories and deadlines, and identity work is budgeted as continuing maintenance.

Why this question is asked

Fifteen years of identity history is a list of things that were best practice and then were not: the implicit flow for browser apps, tokens in localStorage, passwords and SMS codes as the strong option. Companies that hand-built each change into every application paid for it again with each new recommendation. Interviewers ask this leadership question to see whether a senior engineer can design an organisation, not just a system, that absorbs change. In this answer, we will look at why rewrites happen, then at centralising protocol handling, owning the watch on standards, staying on supported versions, retiring old flows with deadlines, and funding it all as maintenance.

1Why Every Change Became a Rewrite

Consider how a typical company met the change from the implicit flow to the code flow with PKCE. The implicit flow returned tokens directly in the browser URL, which was simple for early single-page apps. When guidance moved to authorization code with PKCE, and then to keeping tokens out of the browser through a backend-for-frontend, each application that had written its own OAuth handling had to be changed by its own team. With 40 front ends, that was 40 projects, each competing with feature work, and five years later some still had not moved.

The lesson is that the cost of a standards change is proportional to the number of places that implement the protocol. So the strategy is to make that number small.

2Centralise Protocol Handling

Applications should not implement OAuth or OpenID Connect themselves. Login, token validation and token handling belong in three places: the identity provider, which runs the flows; a shared platform library or starter, which configures Spring Security's client and resource server support the same way everywhere; and edge components such as the gateway or a backend-for-frontend, which keep tokens away from browsers. Application code sees an authenticated principal and roles, nothing more.

Then a new recommendation, such as requiring PKCE for confidential clients, becomes one change in the starter and a version bump across services, or one setting in the provider. Passkeys are a good current example: they are an authentication method at the identity provider, so applications that delegate login to it gain passkeys without code changes.

Step throughWhere identity standards are implemented
  1. Applicationsuse a principal and roles; no protocol code
  2. Shared starterone Spring Security configuration for all services
  3. Edge: gateway and BFFtoken relay, cookies, CSRF, keeps tokens out of browsers
  4. Identity providerflows, MFA, passkeys, token formats, keys

4 layers, from the top down. Step through them one at a time.

A new standard should land in the lower three layers, never in each application.

3Own the Watch on Standards

Somebody must notice the changes in time. We name an owner, usually in the security or platform team, who follows the IETF OAuth working group, the OpenID Foundation, the FIDO Alliance and the security advisories of our framework and provider. Once a year, and also when a major recommendation lands, that person runs a short review: what changed, which of our systems are affected, and what we will do by when. The output is a one-page decision record, not a slide deck.

A yearly rhythm matters because standards rarely change overnight. PKCE for all clients, for example, was recommended years before it became the expected default, which gave companies who were watching plenty of time to move calmly.

4Stay on Supported Versions

Framework upgrades are one of the cheapest ways to stay current, because maintainers turn new guidance into new defaults. Recent Spring Security versions, for example, removed old APIs, tightened defaults around redirects and CSRF, and keep moving PKCE and other protections toward on-by-default. A service that stays within one supported major version of Spring Boot gets those improvements with an upgrade it would need anyway. A service stuck four versions behind gets nothing and becomes the place where every new requirement needs custom code. So we track framework versions per service and treat falling out of support as a risk with an owner.

5Retire Deprecated Flows With Inventories and Deadlines

When the review decides a flow must go, such as the password grant or the implicit flow, we run it as a small programme. First an inventory: the identity provider can list every client and the grants it uses, so we know exactly who is affected. Then a deadline, with a migration guide and a working example in the shared starter. Then tracking per client, with the provider's logs showing who still uses the old flow. On the deadline we disable it for new clients first and then for everyone, with exceptions approved and dated rather than open-ended.

Step throughRetiring a deprecated flow
  1. Review marks the flow deprecateddecision record with reasons
  2. Inventory clients using itfrom provider configuration and logs
  3. Publish guide, example and deadlinee.g. 6 to 12 months
  4. Usage at zero by the deadline?
    YesDisable the flowNoApprove dated exceptions, escalate
  5. Disable for new clients, then all

5 steps in order. Play them, or step through them one at a time.

6Budget It as Maintenance

Finally, money and time. If identity changes are funded as one-off projects, each one needs a business case, competes with features and starts late. If we budget a steady share of the platform team's capacity, say 15 to 20 percent, for identity upkeep, and each product team accepts a small yearly allowance for platform upgrades, the work happens continuously and nobody is surprised. The message to leadership is simple: identity is like patching servers. It never finishes, and doing a little every quarter is far cheaper than a crisis every five years.

7Follow-up questions

How do you convince product teams to take library upgrades?

By making them small and frequent, automated through dependency bots and a shared starter, and by showing the cost of the alternative with a real example, such as the months a team spent on a forced migration from an unsupported version.

Should we adopt every new standard as soon as it appears?

No. We adopt once a recommendation is stable, supported by our provider and framework, and addresses a risk we actually have. The review exists to make that judgement deliberately, rather than chasing every draft.

What do you do with legacy applications that cannot be changed?

Put them behind an edge component, such as a gateway or a BFF, that speaks the current standards to the outside and the old mechanism to the application, and set a date to replace or retire them.

8Conclusion

In this answer, we saw that identity standards changes became rewrites because every application implemented the protocols itself. The remedy is to centralise protocol handling in the provider, a shared starter and edge components, give a named owner the job of tracking standards with a yearly review, keep applications on supported framework versions to inherit safer defaults, retire deprecated flows with inventories and deadlines, and fund identity as continuing maintenance rather than occasional projects.

What to say in the interviewAbout 80 seconds aloud

Open with

My approach is to make change cheap rather than to predict it. The reason the move from the implicit flow to PKCE was painful for many companies is that every application had its own OAuth code, so each change was dozens of projects.

Then, if they want more

So first I centralise: the identity provider runs the flows and the authentication methods, including passkeys; a shared Spring Boot starter configures Spring Security's client and resource server support the same way for every service; and edge components like the gateway or a backend-for-frontend keep tokens out of browsers. Applications only see a principal and roles.

Second, I give a named person ownership of watching the IETF OAuth group, the OpenID Foundation and our vendors' advisories, with a yearly review that produces a short decision record. Third, I keep services on supported framework versions, because Spring Security keeps turning guidance into safer defaults and an upgrade brings them for free.

Fourth, deprecated flows such as the password grant are retired as small programmes: an inventory from the provider, a guide and example, a deadline, and tracking per client. And finally I budget identity work as continuing maintenance, a steady share of platform capacity, rather than as one-off projects that start too late.

About this answer

Last updated
12 November 2026
Checked
Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
Where the question comes from
Written by Scrivio for practice. It is not taken from an interview.
Report an issue with this answer

Copy the line below and send it to the author with what you found. It carries the address of this page.

Issue with "OAuth and identity standards have changed several times in 15 years (implicit flow, then...": https://scrivio-interview-library.netlify.app/spring-boot/oauth2-and-oidc/f4dae01f4a/