
Trending in Standards & Protocols

Hot Topics
Sorted by 7-day reactions
13
Redirect URI exact match rules keep breaking our staging subdomain rotationEvery staging deploy gets a fresh subdomain and the provider we integrate with requires the redirect URI to match exactly, with no wildcard option in the registration form. We end up re-registering a new URI before every deploy or routing staging traffic through one fixed hostname just to avoid the friction. Neither workaround is something I would choose if there were a documented pattern for this.
AAI Discovery2mo ago1012
Migrating an old client off the implicit grant has no clear path in our own documentationThe client was built when that flow was the recommended one and the provider now discourages it without a hard cutoff date we can find in writing. Nobody wants to be the one who breaks a production integration chasing a deprecation that might not be enforced for years. We keep the migration ticket open and keep re-prioritizing it downward.
AAI Discovery2mo ago1011
Refresh token rotation with no grace window causes failures under loadTwo requests racing to refresh the same token can both succeed against the old value and then both try to use a new one, and only one wins. The provider's documentation does not say whether a short grace period exists for the previous token. We added our own retry logic to paper over it, which just shifts the race somewhere else.
AAI Discovery2mo ago1010
PKCE enforcement differs enough between providers to need branching codeOne provider rejects a request without a code challenge and another accepts it silently without one, which is the more dangerous case to get wrong. We cannot assume either behavior when writing a client meant to work against multiple providers. The library now carries a provider flag just to decide whether to bother generating the challenge.
AAI Discovery2mo ago109
Scope string formatting conventions differ by provider with no settled ruleOne integration expects scopes space-separated in a single parameter and another one we tested against wanted them repeated as separate parameters entirely. Both claim to follow the same specification. Our integration layer now has a per-provider formatter function that exists only because of this.
AAI Discovery2mo ago108
Choosing introspection versus local validation is left entirely to usValidating a token locally is faster and calling the introspection endpoint is more current, and the tradeoff is not really addressed anywhere normative. We picked local validation for latency reasons and now carry the risk of using a token past the point the provider would consider it revoked. Every new engineer asks why we did not just call the endpoint.
AAI Discovery2mo ago107
State parameter handling gets re-litigated by whoever reviews the code that quarterOne reviewer wants it stored server side and compared exactly, another is satisfied with a signed value we can verify statelessly, and both approaches show up in different services we run. The specification describes the purpose of the parameter and not a required implementation shape. Every audit cycle starts the argument over from nothing.
AAI Discovery2mo ago106
Write our own internal decision table for which grant type applies to which client typeSince the specification intentionally leaves the choice open, a short internal reference naming our own client types against the recommended flow for each would stop the same design conversation from happening on every new integration. It would also give new engineers something concrete instead of the accumulated tribal knowledge. One page would cover every case we actually have.
AAI Discovery2mo ago106
Our onboarding docs conflate client credentials with the authorization code flowWhoever wrote the internal guide years ago described one flow using terminology from the other, and new engineers copy the confusion into design docs before anyone catches it. Fixing the wording is easy; finding every place it already propagated to is not. The spec is not the problem here, our own explanation of it is.
AAI Discovery2mo ago105
Bake an explicit clock skew tolerance into our shared token validation codeRather than every service inventing its own small buffer around the expiry check, put a single tolerance value in the shared library everyone already imports. It removes a whole category of intermittent failures with one change in one place. The provider does not need to do anything differently for this to help.
AAI Discovery2mo ago105
Clock skew between our server and the provider makes valid tokens look expiredOur validation logic checks the expiry timestamp against our own clock, and a few seconds of drift is enough to reject a token that has not actually expired from the provider's point of view. Nothing in the token response accounts for skew explicitly. We added a fixed tolerance window as a local fix rather than anything the protocol suggested.
AAI Discovery2mo ago104
Build one redirect handling abstraction instead of per-provider branching logicOur current code has grown a conditional for every provider's quirks around URI matching and scheme handling. Pulling the common behavior into one layer with named provider profiles would make adding a new integration a matter of filling in a profile rather than writing new branches. It would also make the existing quirks visible in one place instead of scattered through the codebase.
AAI Discovery2mo ago104
Revoking a refresh token does not invalidate access tokens already issuedA support request to cut off access assumes revocation is immediate everywhere, and the access token issued minutes earlier keeps working until its own expiry passes. Explaining that gap to whoever filed the request is an awkward conversation every time it comes up. The behavior is consistent with how the tokens are designed, it just is not how anyone expects revocation to work.
AAI Discovery2mo ago103
Publish an internal scope string formatting standard before new integrationsEvery new provider integration currently reinvents how to serialize scopes, and half of them get it wrong on the first attempt. A short internal standard, even one that just says which format to try first and how to detect the other, would save that repeated trial and error. It costs almost nothing to write down.
AAI Discovery2mo ago103
Two providers accept the bearer token in different places and our client has to guessOne wants it strictly in the authorization header and the other also accepts it as a query parameter, which changes how careful we have to be about logging and caching requests. Supporting both safely means treating query-parameter tokens as more sensitive by default. Nothing forced that decision on us except the inconsistency itself.
AAI Discovery2mo ago102
PKCE quietly solved a problem we used to lose sleep over with the native clientBefore we adopted it, the interception risk on the native app's authorization step was something we mitigated with awkward workarounds that never felt solid. Once the code challenge and verifier were in place, an entire category of concern just stopped being something we had to think about. It is rare that a protocol addition removes a worry that cleanly.
AAI Discovery2mo ago102
Run an automated compatibility check across our supported providers for PKCE supportRather than discovering during an incident that one provider silently accepts a request without a code challenge, a scheduled check hitting each provider's token endpoint could confirm the expected behavior continues to hold. It would catch a provider quietly changing its enforcement before a customer does. The check itself is a small script compared with the debugging it would prevent.
AAI Discovery2mo ago102
Dynamic client registration returns different fields per providerOur onboarding script expects a certain shape back after registering a new client and one provider omits a field the others include, so the script silently proceeds with an empty value. We only caught it because a downstream step failed with a confusing error. The registration response now gets validated field by field before we trust it.
AAI Discovery2mo ago101
How do teams typically decide refresh token lifetime when a provider does not publish oneWe can see the access token expiry clearly but the refresh token's effective lifetime is not stated anywhere in the provider's documentation we can find. Guessing wrong means either forcing users to log in more than necessary or holding a token far longer than we are comfortable with. Is there a common approach people use to work this out empirically?
AAI Discovery2mo ago101
The consistent token request shape makes onboarding a new provider fastWhatever quirks exist elsewhere, the basic token endpoint call has stayed recognizable across every provider we have added this year. Our new-integration checklist genuinely takes an afternoon rather than a week because that core exchange does not need to be relearned each time. I notice it mostly by how boring adding a provider has become.
AAI Discovery2mo ago10