Recently, I’ve been working with several well-known commercial retailers (which shall remain nameless for obvious reasons) that have all had one thing in common: they were keen to get a handle on a number of challenges plaguing their Customer Identity & Access Management integrations.
Most had already migrated from bespoke Customer Identity implementations to integrate with a solution from a leading third-party SaaS CIAM vendor. Whilst things had initially seemed to go well, many were puzzled as to why certain aspects seemed to get progressively worse in the intervening years.
Numerous changes with respect to the structures of each organisation arguably hadn’t helped, but these otherwise successful, thriving businesses were having a hard time figuring out what to do next.
Their solution was to turn to Cevolution. With extensive experience in both Customer and Workforce Identity, and as someone all too familiar with the territory, I (Peter Fernandez, Cevolution’s Chief Technologist) was able to provide them with exactly what was needed. Namely, a solution to the problem.
For the majority, it started with an in-depth Discovery across their estate — focused primarily on the retail consumer side of the business. For some, there also followed a proposal for a more holistic approach utilising an IAM Fabric tailored specifically for their needs (incorporating the use of proven, cost-effective open-source technologies).
Discovering what’s already there is where it starts. Using open-source technologies to build a tailored IAM Fabric can then open up opportunities for progressive integrations that can lower costs and improve efficiency, all whilst maintaining robust attack protection.
With the most recent engagement coming to a close, I decided to put my metaphorical “pen” to “paper” and, in this article, cover some of the most common concerns that were addressed, including (but not limited to):
- Why customers experienced sign-up and sign-in issues with both website and Mobile App integrations,
- Why third-party SaaS subscription costs grew exponentially, and how to get them under control,
- How to prevent Account takeovers and other malicious attacks from Bots & Bad Actors
- How to plan for long-term IAM enablement across the entire organisation, and
- How to tackle increasing technical debt as a result of integrations in:
- Authentication,
- Authorization, &
- Account Management
Architectural Anomalies
More often than not, CIAM journeys are built one channel at a time. A Web experience here, a mobile app there, etc. Each channel evolves, throws new demands at Customer Identity, and before long, the technical debt grows with each patch/each duplication added. It’s a familiar story.
Retailers want their customers to move seamlessly between mobile apps, web platforms, and third-party ecosystems, but architecturally these things are often very different; identity must adapt, without sacrificing security, consistency, or user experience.
It works — until it doesn’t. Or more specifically, it works until things start happening that don’t make sense. This is where anomalies in the architecture start to creep in, and technical debt becomes architectural debt — which is a lot harder to tackle.
Mobile Expenditure
Having relaunched their Mobile App as part of their CIAM migration, one of my clients was seeing healthy growth in uptake, with (as it turned out, unhealthy) growth in their CIAM SaaS subscription.
Whilst their CIAM SaaS Vendor was congratulating them on the success of their business, their yearly CIAM bill was continuing to rise. What started off as a circa £100,000 annual subscription had exceeded £400K+ by the time Cevolution stepped in, and growth was showing no signs of slowing.
A classic web application (a.k.a. a Regular Web App) typically uses a CIAM workflow — as in a workflow using OIDC (OpenID Connect) — to build an application session with the Browser. Mobile Apps, on the other hand, typically use the same Browser-based workflow to build a session using a very different mechanism.
The difference is subtle, but knowing what to look for helped me to show them what was going on and make the anomaly in the chosen architecture known to the client.
Most SaaS CIAM Vendors bill based on what is termed MAU — as in Monthly Active Users. This means you can have a user base that far exceeds the number of users who use your service(s) each month and are only billed for those who are active. What constitutes an “Active User” is subjective, but for retailers, this typically equates to those who make a purchase.
The evidence-based options for remediation — which included options put forward as part of an IAM Fabric proposal — all showed a positive reversal, which would ultimately bring their subscription costs down to a more manageable £150K per annum (accounting for inflation and other growth factors).
Saving circa £250K per annum on our SaaS costs not only funded our engagement with Cevolution, but will also help us to fund longer-term IAM investment going forward.
VP, Platform
Development Bugs
Savings from a third-party SaaS CIAM perspective can be significant, but not the only positive result that Discovery is able to uncover.
With another client, their Mobile App had, for some time, been subject to subtle race conditions that resulted in persistent errors during login for some users, causing more frequent interactive logins. Customer feedback on the App consistently highlighted these situations as pain points for their consumers.
Not only were these issues helping to drive increased SaaS costs, but they were also compounding technical debt. After analysing code, log files, and correlating user journeys across numerous aspects of their infrastructure — using Cevolution’s own proprietary heuristics-based analysis tooling, backed by AI — we were again able to provide the client with detailed, evidence-based remediation options. This not only helped them address the issues, but also helped educate their development teams regarding IAM best practices at the same time.
…just wanted to say thanks for all the input you’ve given us while you’ve been here; learnt a lot, and grateful for your expertise and time…
Lead Engineer, Customer Identity
Email Hygiene
The use of email plays a big part in any CIAM integration.
Take, for instance, Password Reset. Ideally, a user should receive an email in their inbox containing a link they can click to initiate a New Password UX. From an Identity & Access Management perspective, such emails are critical infrastructure and carry a particular significance. So poor hygiene — including the addition of superfluous Marketing materials — can cause a system like MDO (Microsoft Defender for Office 365) to treat them in a suspicious manner.
Don’t mix different types of content in the same message. For example, don’t include promotions in sales receipt messages.
Google Email sender guidelines
This, in turn, can cause unnecessary friction for the user, as another client discovered. Link scanning systems like MDO employ additional processing based on what can be seen as suspicious activity — causing unnecessary delivery delays or, in some cases, preventing delivery altogether.
Link scanning in a retail consumer environment is non-deterministic, and it is impossible to predict what, when and/or how scanning will occur. The only controllable factor is minimising friction that can cause over-scanning and/or scan-related blocks.
Infrastructure Idioms
Architecture isn’t the only factor when it comes to CIAM integration and the resulting CIAM journeys; potential code spaghetti and the associated technical debt aren’t the only things that can have an impact. The architectural design of an integration can be on point, but issues can arise where the implementation meets the existing infrastructure.
Application Firewalling
Deploying a (Web) Application Firewall — a.k.a. WAF — is a security best practice when it comes to protecting digital infrastructure. However, rules that are overly strict, do not account for various permutations/combinations in telemetry, or contradict Attack Protection mechanisms provided by third-party CIAM SaaS services can trigger anomalous behaviour that can result in a poor experience for users.
A third-party SaaS CIAM solution like Auth0, for example, has first-class, industry-renowned attack protection capabilities that help prevent Credential Stuffing, Brute Force, and other Bot-related attacks. These leverage signals available during interactive logins and heuristic analysis mechanisms that are far superior to static application firewalls.
For one particular client, discovering inconsistencies within WAF rule configuration highlighted friction in the Customer experience that wasn’t immediately apparent in the testing already being done. Improvements subsequently made as a result of Discovery included:
- changing
BLOCKrules toCHALLENGE, - configuring an on-brand rejection UX (rather than vanilla
403and429screens that were being shown to users), and - recommending the removal of WAF from endpoints already protected by the superior heuristic-analysis mechanisms provided by their CIAM SaaS platform provider.
Excessive Logging
Logging is an essential component of any CIAM integration, particularly where CIAM operates across multiple platforms and applications. An effective logging strategy enables organisations to investigate Authentication failures, diagnose integration problems, detect suspicious activity and demonstrate compliance with relevant security policies.
Logging across heterogeneous infrastructure — that typically includes internal services as well as external SaaS solutions — often spans multiple interconnected systems. There isn’t always a clear correlation between events, particularly when it comes to Customer Identity workflows, so effective and efficient logging is important.
However, excessive logging doesn’t just increase infrastructure costs. Generating too much log information can create unnecessary noise, particularly when it comes to identifying useful signals in an IAM context, as more than one of our clients found out.
As a result of Discovery — together with analysis using Cevolution’s proprietary tooling — circa 60 MB of log data generated every minute (or, on average, around 40 GB of log data created most days) across their installed Mobile App customer base was reduced by a significant amount, simply by removing noisy, repetitive messages.
Three routine credential-store checks would be reduced by 100%. Two credential-refresh lifecycle messages would retain a 10% sample. Login, logout, authentication failures, errors, and [Auth]: Session ended remain fully stored…
Senior Site Reliability Engineer
Regional Siloing
Retailers often operate across different geographical markets, with their product/services tailored accordingly. From a product perspective, this sort of implementation siloing is advantageous, particularly from an application perspective.
However, in many cases, a single user can operate across multiple geographic regions — a user who travels frequently for work, say, or who lives in one location and commutes to another, will ideally want to use the same account wherever they interact with a retailer’s business.
Whilst a retailer’s goods and services may be region-specific, identity is different. Things like customer loyalty programs and loyalty points often translate so that they can be used regardless of where in the world the user shops.
Modelling a CIAM integration based on geographical (application) isolation can therefore be problematic, as another recent client discovered. It typically leads to account fragmentation for your users — resulting in confusion when it comes to credentials, MFA registrations, loyalty rewards, and anything else that’s related to the user profile. Particularly if an integration also supports self-service account management
However, certain aspects of profile information are bound by geography, by necessity. The likes of GDPR, the CCPA (California Consumer Privacy Act) and other regulatory compliance mean that there are cases where user information — particularly Personally Identifiable Information (PII) — must not leave a geographic region. Or rather, it should not leave a geographic region unless an organisation wants to face a hefty fine.
In many cases, this is where a unified IAM Fabric approach can pay dividends — providing centralised capability from an identity and access management perspective that ensures applications and services are always compliant, whilst still leveraging the unique abilities (such as advanced attack protection and the like) provided by the upstream third-party SaaS CIAM vendors.
SaaS Surprises
Working with a third-party CIAM (SaaS) solution provider doesn’t automatically mean that they’re going to know the specifics of your business. Even if you had a good engagement with their Professional Services team as part of your initial integration, things change over time, and the drift can eventually end up catching you unaware.
SDKs
Many of the leading SaaS CIAM vendors offer their own SDKs. Whilst protocols like OIDC (OpenID Connect) and OAuth 2 are industry standards, using a Software Development Kit (an SDK library) is typically recommended as a way of helping isolate any integration from the subtle vagaries of implementation. However, the SDKs provided by third-party SaaS CIAM providers can often come with their own surprises!
Though largely Entra ID-centric, Microsoft’s MSAL documentation illustrates the value of the SDK approach — where libraries handle token acquisition, caching and protocol details across numerous platforms rather than requiring applications to implement OAuth directly.
Third-party SaaS providers often make assumptions when building their SDKs that the various IAM workflows will be against their own CIAM service. I mean, why wouldn’t that be the case? If an integration is going to use a vendor-provided SDK, then it would make sense that it’s also going to use their vendor CIAM solution.
Well, that assumption works well in the main, until an integration switches identity providers. Suddenly, integrating with an industry standard breaks, not because of standards incompatibility, but because of a non-standard SDK implementation. Third-party SDKs often make specific assumptions that include “tribal knowledge” about particular platform integration endpoints — rather than using the standard discovery documents defined as part of the protocol.
For example, one well-known vendor’s SDKs assume a very specific /authorize endpoint path rather than reading the published OIDC discovery document (i.e. https://<issuer>/.well-known/openid-configuration). Of course, whilst it works when interaction with their own CIAM solutions, things break functionally when the integrated platform changes.
What was essentially the application’s implementation of the security contract — the security blanket that handled redirects, tokens, claims, sessions and protocol validation — now suddenly becomes an instrument for vendor lock-in. Transitioning from one identity provider to another suddenly becomes more of a challenge not because of feature disparity, but because of the SDK.
Extensibility
Whilst CIAM platform extensibility provides a mechanism for implementing custom workflows, fragility as a result of implementation that either subverts the auth capability in the chosen (SaaS) solution or causes unnecessary friction in the workflow will cause brittleness that can impact the user experience.
The greatest challenge with building extensibility as part of the auth pipeline is that it’s not necessarily deterministic. Arguably, much of the extensibility implemented as part of an integration runs as a result of conditional expressions — where a user/profile not in a required state undergoes some form of transformation.
This is typically by design, because extensibility is largely designed to run in the corner cases, not during normal operation. However, with one client, and largely due to an initial misunderstanding, extensibility ended up changing a fundamental characteristic of the user profile…which had a profound knock-on effect further down the line.
Vendor Relationship
A third-party (SaaS) CIAM vendor doesn’t necessarily see the full picture; the stats they collect as part of the charts and presentations they deliver in monthly reviews don’t necessarily tell the full story. In the case of the client engagement where growth in MAU was being caused by excessive Mobile expenditure, this was being interpreted by the vendor as a booming take-up in the Mobile App, and celebrated rather than examined in more detail.
A third-party (SaaS) CIAM provider is likely focused on the revenue they make above everything else. From their point of view, an increase in MAU is good from their perspective…not necessarily yours!
Broaching subjects like this requires a sensitive approach; getting the right result for a client without damaging the vendor relationship can be a tricky path to navigate. As Cevolution’s CIAM SME, and having worked with various CIAM vendors — both on behalf of customers and in a competitive capacity — our client was comfortable knowing they had me as the right person asking the right questions in just the right way.
Critical Vulnerabilities
A real challenge for any CIAM integration in the retail sector is how to securely protect customer accounts, personal data, payment journeys, loyalty points, and brand reputation without damaging conversion. Adding security whilst minimising friction is a balancing act. However, if security is too lax and/or security best practices are not observed, then it is easy to introduce vulnerabilities that can seriously compromise users and the business as a whole.
From Credential Stuffing to Account Squatting, user profile-change flaws — particularly with Email Address changes — to lax implementation in Account Linking and even overlooked use cases in WAF deployment (intended to enhance system security rather than compromise it) mean critical security vulnerabilities can easily be overlooked. It takes a diligent, in-depth approach coupled with an experienced eye to see past the surface and look deep into what’s really going on underneath!
Account Linking is a critical enabler that makes it easy for consumers to use any supported credentials when logging in. However, it’s hard to get right, and almost no third-party (SaaS) CIAM provider has an out-of-the-box solution. Thus, integrators are typically left to fend for themselves, and getting it wrong can be catastrophic!
Independent Review
Engaging with a third party to do an independent review of your existing Identity & Access Management is no bad thing: a completely fresh perspective can often highlight things that simply get “overlooked” because they are the “norm”. As the old saying goes, “sometimes you can’t see the wood for the trees!”
However, when choosing an independent review of your Customer Identity, it’s not always about CIAM subject matter expertise alone. So if you’re looking for help, advice, and/or expertise when it comes to your CIAM integration, the best advice I can offer is to look for someone who:
- Isn’t just a CIAM specialist; someone who has experience in complex (SaaS) system development is just as important,
- Has proven experience not just in the CIAM domain, but also when it comes to conducting in-depth Discovery,
- Can roll up their sleeves and get stuck in, as well as consult on best practices,
- Can write clear, comprehensive reports as well as be an effective verbal communicator
- Evidence-based documentation provides clients with the level of detail they need to make business-level decisions and prioritise development work, long after the engagement comes to a close.

Contact Us & Begin Your Evolution Today!



Leave a Reply