Okta vs Amazon Cognito: when each one fits
A renewal quote, a pricing change or a question about where identity data must sit often forces a choice between Okta and Amazon Cognito, and the two products are built for different users. Okta fits employee single sign-on, MFA and directory management across SaaS and on-premises apps, while Cognito fits app sign-in for an end-user population already on AWS. The decision turns on four questions: who the users are (employees, customers or both), where identity data must live, which apps need access from on-premises networks, and how much operating work your team wants to carry. Settle these answers before you compare prices, since they decide which product is in scope at all.
Start with the user split, because it sets the identity model. If employees are the main population, the Okta AD agent imports Active Directory users and groups into Okta, so confirm which directory is the source of truth before you renew. For on-premises apps, Okta Access Gateway is a reverse proxy deployed behind your firewall that protects apps without federation support. Cognito is a managed AWS service, so confirm how each legacy app would reach it before assuming a path exists. On data location, Okta lists cells in the US, EMEA, Japan, Australia, Canada and India and says sub-processor locations can vary by cell, so ask for that in writing. Check Cognito's schema limits too: a user pool allows up to 50 custom attributes that cannot be removed, and usernames cannot change after creation.
Operating work and exit cost settle the rest. Okta is a recurring subscription sold per user per month with a $1,500 annual contract minimum, so a small employee population still pays a floor. Cognito bills per monthly active user, with 50 free MAUs per month for users who sign in through SAML or OIDC federation and $0.015 per MAU after that on every tier, so model your actual sign-in counts before you compare totals. Okta runs the platform for you, while your team owns Cognito's configuration, pool design and integrations. Before you sign, test the exit path: ListUsers returns no password field, and Cognito's bulk CSV import accepts password hashes in bcrypt, scrypt, Argon2id or PBKDF2 since July 15, 2026. Okta documents active-user exports through an Admin Console report and the List Users API, so test both on a sample before you accept a quote.
Okta vs Amazon Cognito by scenario: which fits your workload
This table maps common Okta and Amazon Cognito scenarios to the platform that usually fits better. Read the last clause of each row to see the condition that would change the answer. The main takeaway is that Okta suits workforce SSO and Cognito suits AWS-hosted customer sign-up, while self-hosted Keycloak or authentik becomes the better fit when data location, per-user cost or lock-in dominate.
| Scenario | Better fit | Why, and what flips it |
|---|---|---|
| Employee SSO across SaaS apps | Okta | Bundled SSO, MFA and directory per user; flips to Keycloak or authentik if per-user cost outweighs your operating capacity. |
| Consumer or partner sign-up for an AWS-hosted app | Amazon Cognito | AWS lists Essentials at $0.015 per MAU; flips if projected MAU volume makes it costlier than self-hosting. |
| Legacy on-premises apps needing header or Kerberos access | Okta with Access Gateway, if already on Okta | Gateway puts header, Kerberos and URL-based apps behind your firewall; flips to authentik's free proxy and Kerberos support if community support suffices. |
| US federal workload | Okta for Government High, if FedRAMP High is required | FedRAMP High announced March 28, 2023; confirm scope covers your use. Flips to self-hosted if your boundary must include identity servers you run. |
| Team with no AWS footprint | Okta or self-hosted Keycloak | Cognito runs only in AWS, so an AWS-free team adds a new cloud dependency; flips if your apps move to AWS. |
| Identity data must stay in your own datacenter | Self-hosted Keycloak or authentik | Okta says sub-processor locations vary by service and cell; flips if you cannot staff patching and backups. |
| Schema and identifiers that change over time | Okta or self-hosted Keycloak | Cognito fixes required attributes at pool creation; flips if your schema is small and stable. |
| Moving existing users with password hashes | Amazon Cognito, if your hash type is supported | Imports bcrypt, scrypt, Argon2id or PBKDF2-SHA256 hashes since July 15, 2026; flips if your hash type is unsupported. |
How Okta and Amazon Cognito charge, and what drives the bill
Okta charges per user per month on suites with an annual contract minimum. Amazon Cognito charges per monthly active user by feature plan, with a free allowance and a separate rate for users who sign in through federation. The cards set out each bill and the inputs that move it, so you can build both estimates from the same counts.
Okta per-user suites
Okta prices Workforce Identity per user per month, and suites are billed annually with an annual contract minimum. That minimum can outweigh the per-user charge for a small workforce, so model the floor as well as the headcount. The main recurring driver is the number of users in your directory, including contractors and service accounts if your contract counts them. Confirm with Okta which identities are billable, and whether the minimum applies to each suite you buy.
- Annual contract minimum
- $1,500
Okta suite contents
Okta's Starter suite includes Single Sign-On, Multi-Factor Authentication and Universal Directory. Essentials adds Adaptive MFA, Lifecycle Management and Access Governance, and Enterprise adds API Access Management, Access Gateway and machine-to-machine tokens. The suite determines which features are billed, so list the features you need before comparing totals. A team that needs Access Gateway for legacy apps or machine-to-machine tokens for services will need the Enterprise suite, even if its user count is small.
Cognito feature plans
Amazon Cognito user pools come in Lite, Essentials and Plus feature plans, and AWS bills each by monthly active user. AWS's pricing page lists Essentials at $0.015 and Plus at $0.020 per MAU. Plus has no free tier, so a Plus pool bills from the first active user. Count monthly active users for each billing month, and confirm which plan your user pool was created under, since older Lite pools keep a larger free tier.
- Free MAUs, Lite and Essentials
- 10,000
Federation sign-in allowance
Users who sign in through SAML or OIDC federation get a monthly allowance per account, and AWS charges $0.015 per MAU above it on every tier. Federation is common in workforce setups, so model federated and direct sign-ins as separate groups. Confirm with AWS which of your sign-in paths count as federation before you rely on the allowance in a forecast.
- Free federated MAUs
- 50
Okta rate needs a written quote
Okta's per-user rate for your suite and headcount has to come from a written quote, so the figure in any model should be the one Okta provides in writing. Ask for the rate per suite, the annual contract minimum as applied, and whether the quote covers each product you plan to use, including Access Gateway or API Access Management. Also ask about renewal terms and any add-on products outside the suite, and record each one as a separate line in your comparison.
How Okta and Amazon Cognito compare on capabilities
This table compares the workforce identity capabilities that matter most in an Okta renewal or replacement review, mapped against Amazon Cognito user pools. Where a cell says to confirm, check that point with AWS or Okta before you rely on it in a review. The main takeaway is that Okta documents its directory and on-premises access features directly, while Cognito's workforce fit depends on the plan and configuration you confirm.
| Capability | Okta Workforce Identity | Amazon Cognito user pools |
|---|---|---|
| Workforce SSO and protocols | Single sign-on is included in the Starter suite and higher. | Federation through SAML or OIDC, with user pools offered in Lite, Essentials and Plus feature plans. |
| MFA | MFA is included in the Starter suite, with Adaptive MFA added at the Essentials suite. | Confirm with AWS which MFA factors and risk controls each Lite, Essentials and Plus plan includes. |
| Directory and Active Directory integration | Universal Directory in Starter. The Okta AD agent installs in your network and imports AD users and groups into Okta. | Users are stored in the user pool. Confirm with AWS whether Cognito can federate to an on-premises Active Directory and how group sync works. |
| On-premises app access | Access Gateway, in the Enterprise suite, is a reverse proxy behind your firewall for header, Kerberos and URL-based apps. | Confirm with AWS whether Cognito offers a header, Kerberos or proxy option for on-premises apps. |
| Lifecycle management | Lifecycle Management is included in the Essentials suite, along with Access Governance. | ListUsers returns up to 60 users per request, without password fields. Confirm lifecycle and provisioning features with AWS. |
| Government authorization | Okta for Government High holds FedRAMP High authorization, announced March 28, 2023. | Confirm with AWS the current FedRAMP and government region status of Cognito before scoping a federal workload. |
| Deployment model | Vendor-hosted cloud service in Okta cells across the US, EMEA, Japan, Australia, Canada and India. | AWS-managed service with no self-hosted option. Confirm the regions and data locations your user pools can use. |
Where identity data lives and what leaving each product involves
Identity data moves with users, groups, attributes and credentials, and each product makes that data reachable in different ways. The cards cover where Okta and Amazon Cognito hold the data, what Okta's 2023 incident means for vendor review, and which export and lock-in limits shape an exit. Confirm each point with the vendor in writing before you plan a migration.
Okta data location
Okta runs cells in the US, EMEA, Japan, Australia, Canada and India, and the cell your organization uses is the first fact to confirm. Okta also states that the location where its sub-processors process data can vary by service and cell. Ask Okta which cell hosts your org, then request the current sub-processor list with the processing location for each entry. Compare both against your residency and cross-border transfer requirements before you sign or renew.
Okta data residencyOkta's 2023 support system incident
In a root cause analysis published November 3, 2023, Okta reported that a threat actor accessed files in its customer support system associated with 134 Okta customers. The actor used a service account whose credentials an employee had saved to a personal Google profile. Treat the analysis as an input to your vendor risk review. Ask Okta what changed in credential handling and support access, and record the answers in your third-party risk file.
Okta root cause analysisCognito data location
A Cognito user pool is created in the AWS Region you select, and that Region belongs in your record of where personal data is processed. Confirm the Region, the data processing terms in your AWS agreement and any other AWS services the pool calls, such as messaging for verification codes. Ask AWS which of those calls process data outside the pool's Region, and whether that processing changes your transfer assessment.
Export paths for both products
Okta documents three ways to export a list of active users: the Password Health report CSV in the Admin Console, the community Rockstar browser extension, and the List Users API with a filter. Cognito's ListUsers API returns up to 60 users per request, with their attributes, enabled flag, status, MFA options and timestamps. Either export moves a user list only. App assignments, groups, policies and integrations must be rebuilt in the target system and checked against a test account.
Okta export guidanceCognito lock-in limits
A user pool allows up to 50 custom attributes, and those cannot be removed or changed after they are added. Required attributes and the choice between username and alias sign-in cannot be changed after the pool is created. A username cannot change after the user is created, and the sub identifier uses a Cognito-specific format that does not conform to RFC UUID. Model your attribute schema and sign-in design before go-live, because changing these settings later means building a new pool and moving users into it.
Cognito user attributesPassword path out of Cognito
The Cognito ListUsers API returns no password field, so a standard user export cannot carry password credentials out of a user pool. Ask AWS whether any password export path exists for your pool. Separately, since July 15, 2026, Cognito CSV imports accept bcrypt, scrypt, Argon2id and PBKDF2 with SHA-256 password hashes, which matters for the target side of a move. For Okta, confirm in writing whether password export is available for your org, because its documented export methods describe active user lists. Plan user re-enrollment for any credential that neither vendor confirms can leave.
Cognito ListUsers referenceWhen Keycloak, authentik or ZITADEL fits better than either product
Neither Okta nor Amazon Cognito is the right answer when the team wants single sign-on across applications and directories without per-user cloud billing, or when AWS lock-in or the location of sub-processors blocks the plan. Three self-hosted options fit that brief. Keycloak is Apache 2.0 licensed, is a CNCF incubating project, supports OpenID Connect, OAuth 2.0 and SAML 2.0, and federates existing LDAP and Active Directory servers. authentik has an MIT-licensed core and a free edition with community support only, which covers OIDC, SAML, LDAP, SCIM, RADIUS, Kerberos and proxy authentication. Its Enterprise tier is listed at $5 per user per month billed annually plus $0.02 per external user per month, and Enterprise Plus starts at $20k annually. ZITADEL is AGPL-3.0 licensed and suits customer identity for many tenants, since its Organizations structure isolates data and policies per customer.
Self-hosting moves operations onto your team or your partner. Plan for hosting in your own cloud account or data center, a PostgreSQL database (ZITADEL runs on PostgreSQL 14 or later), and more than one node behind a load balancer for high availability. Keycloak plans four minor releases a year, and breaking changes in minor releases are opt-in, so patching becomes a standing task: test each release in staging and confirm the current version before you start. authentik security fixes cover the 2026.5.x and 2026.8.x lines, and the project announces security releases at least 24 hours in advance. Backups need their own design. Keycloak's export and import guide warns that realm export has limits as a backup and that all nodes must be stopped while it runs, so back up the database as well. Budget for support too: authentik Enterprise includes ticket-based support for subscriptions over $1k, while Keycloak and ZITADEL support must be confirmed in writing with a named provider.
Migration is the largest one-time piece, and the password and MFA plan decides how users experience it. Since July 15, 2026, Cognito's CSV import accepts password hashes in bcrypt, scrypt, Argon2id or PBKDF2 with SHA-256, verified at each user's first sign-in. Its ListUsers API returns no password field, so confirm which hash material your user pool can release before choosing a path. Where hashes cannot move, plan re-enrollment: users set a new password at first sign-in, re-register their MFA devices, and receive a clear sign-in window in advance. Also map identifiers. Cognito's sub value does not follow the RFC UUID format and Cognito usernames cannot change after creation, so every application that stores sub needs a mapping to the new provider's subject values. Test each app client's callbacks and tokens in staging before cutover.
What a move between Okta and Cognito involves, step by step
The sequence below moves application sign-in from an Okta tenant to an Amazon Cognito user pool without losing the apps, users and access rules that depend on it. Each step ends with an output the team can check before the next step starts. Because Cognito pool settings are fixed at creation, the schema and sign-in model are settled before any user is moved.
Inventory apps, federations and groups
The Okta tenant owner lists every application integration, SAML and OIDC client, the Active Directory domain or other directory that feeds Okta through the Okta AD agent, the group rules that grant access, and the policies tied to each app. Apps behind Access Gateway or using header-based sign-in go on the list separately, because they depend on Okta-specific proxying. The output is a spreadsheet that maps each app to its sign-in method, its owner and the groups that reach it. Confirm the list with application owners, since a user export does not include app configuration.
Export users from both sides
On the Okta side, the platform team exports active users either from the Password Health report in the Admin Console or through the List Users API with a filter, and keeps every attribute that an app relies on. Follow the Okta export guidance to confirm which fields each method returns. On the Cognito side, the ListUsers API is used after import to verify the pool, since it returns at most 60 users per request with attributes, status and MFA settings but no password field. The output is a reconciled user file that matches the count in the directory of record.
Choose a password strategy
Decide how existing passwords reach Cognito. A bulk CSV import can carry password hashes in bcrypt, scrypt, Argon2id or PBKDF2 with SHA-256, and Cognito verifies them at each user's first sign-in, a capability AWS announced on July 15, 2026. If the source material cannot be exported in those formats, the alternatives are a user migration Lambda trigger that checks credentials at first sign-in or a forced password reset. Ask Okta support which password material can leave the tenant before choosing. The output is a written decision for each user population, approved by the security owner.
Model the target schema first
Map Okta profile attributes and group-based claims to Cognito standard and custom attributes before the pool exists. A user pool allows up to 50 custom attributes, and custom attributes cannot be removed or changed after they are added. Required attributes and the choice between username and alias sign-in are also fixed at pool creation, and a Cognito username cannot be changed after the user is created. The sub identifier uses a Cognito-specific format that does not follow the RFC UUID standard, so confirm that downstream apps accept it. The output is a schema document and pool settings sheet that a second engineer has reviewed.
Rebuild app clients, claims and policies
Create app clients, callback and sign-out URLs, scopes and token claims in the Cognito pool to match each entry in the inventory. Group-based access is recreated through the claims each app reads or through rules in application code. A user export does not carry app or policy configuration, so every rule is rewritten and traced back to its Okta source. Test sign-in on both platforms for each app, including MFA prompts, password reset and the claims the app receives. The output is a test matrix showing each app, user group and expected result, with every failure fixed and retested.
Cut over with a rollback path
Move one application or user group at a time, switching its identity settings to the Cognito pool during a window agreed with the application owner. Keep the Okta configuration for that app intact and documented so it can serve as the rollback route until the cutover is confirmed. Watch failed sign-ins and support tickets during the window, and tell users which sign-in page to use. Rollback means restoring the previous app settings, and the team should rehearse it before go-live. The output is a signed cutover record for each application that lists its rollback steps and the test results.
Retire the old tenant after confirmation
Once every application has run on Cognito through an agreed confirmation period, disable the remaining Okta apps, revoke Okta API tokens and service accounts, and remove the AD agent. Export the final audit and configuration records that your compliance program requires, and confirm the retention period with compliance and legal owners. Then deactivate or close the Okta tenant according to the contract terms. The output is a closure record showing that no application still points at Okta and that every record you must keep is stored in a location you control.
How the decision path sorts workloads to each product
The diagram starts with who signs in: employees, customers or both. Workforce logins that reach legacy apps needing HTTP header or Kerberos access lead toward Okta, while customer logins for apps on AWS lead toward Amazon Cognito. If data location or government authorization is a hard requirement, the path moves to self-hosted options, and whether your team will operate a server decides between Keycloak, ZITADEL and authentik. Use each branch as a prompt for discussion with your architects and compliance team, and confirm that each product covers the protocols your apps use.
Decision aid routing sign-in type and constraints to products.
Okta vs Amazon Cognito cost, migration and effort questions
Does Okta or Amazon Cognito cost more for our workforce?
Neither platform is cheaper for every organization, because cost depends on your user count, the edition you choose and how users sign in. Cognito user pools bill per monthly active user, with Essentials at $0.015 and Plus at $0.020 per MAU. Lite and Essentials include 10,000 free MAUs per month, and users who sign in through SAML or OIDC federation get 50 free MAUs per account before $0.015 per MAU applies. Okta bills per user per month by suite, so its cost follows your licensed workforce. Model your headcount both ways: every employee as a licensed user, and only the people who sign in each month. Ask both vendors for written quotes that show edition, add-ons, overage rules and renewal terms. Self-hosting moves cost into infrastructure, staff time and support. Check current rates on the Amazon Cognito pricing page.
Does Okta have a minimum annual contract, and how much is it?
Yes. Okta sells Workforce Identity suites per user per month, billed annually, with a $1,500 annual contract minimum according to Okta's pricing page. The minimum sets a floor on what a contract costs, so it matters most for small teams whose per-user total would fall below it. The suites differ in scope. Starter includes Single Sign-On, Multi-Factor Authentication and Universal Directory. Essentials adds Adaptive MFA, Lifecycle Management and Access Governance. Enterprise adds API Access Management, Access Gateway and machine-to-machine tokens. Confirm with Okta how the minimum applies to your seat count, which suite your requirements need, and whether add-on products change the total. Compare that written quote with the full run cost of any self-hosted option, including staff time and support.
How long does an identity migration from Okta or Cognito take?
No single duration applies, because the work depends on the size and shape of your environment. The main drivers are the number of applications, how many use SAML, OIDC, LDAP or proxy-based access, the password strategy, whether MFA must be re-enrolled, how many custom attributes and groups need mapping, and how many test cycles your application owners need. Cognito offers two import paths: a user migration Lambda trigger that moves users at first sign-in, or a bulk CSV import of profile attributes. Plan custom attributes carefully, because Cognito does not allow them to be removed after they are added, and usernames cannot be changed after creation. Ask any implementation partner for a fixed-scope plan with milestones agreed in writing before work begins.
What does our team need to provide before a migration starts?
You need an application inventory, a named owner for each application, test users for every sign-in pattern and a written sign-off path before cutover. The inventory should record the protocol each app uses, its redirect URIs, group and role mappings, custom attributes and the teams that depend on it. Owners confirm claims and test their own flows. Test users should cover employees, contractors, administrators and any partner accounts. The sign-off path names who approves each phase, who can pause a cutover and how rollback works. Collect a current user export as well. Okta documents three ways to export active users: the Password Health report CSV in the Admin Console, a community browser extension, or the List Users API with a filter. Record your MFA policy and the SSO and session settings in the admin console. A fixed-scope engagement lists these inputs in the written scope so gaps surface before the schedule is set.
What happens to user passwords when we leave Okta or Cognito?
Passwords move only if the source and target platforms can carry them, so confirm this before you promise anything to users. On Cognito, a user migration Lambda trigger can validate existing passwords at a user's first sign-in. Since July 15, 2026, Cognito CSV imports can also carry password hashes in bcrypt, scrypt, Argon2id or PBKDF2 with SHA-256, verified at first sign-in. The Cognito ListUsers API returns no password field, so a list export will not give you hashes. Okta's documented export methods cover user lists and reports and do not list password hashes, so ask Okta in writing what your tenant can provide. If hashes cannot move, plan a forced reset at first sign-in and tell users in advance. Plan MFA re-enrollment alongside it, and confirm which factors can move at all.
Can Amazon Cognito handle workforce SSO, and where does it fall short?
Cognito supports SAML and OIDC federation, but its user pool model is built around application sign-in, so confirm the workforce features you need before choosing it. Users who sign in through federation get 50 free MAUs per account per month, then $0.015 per MAU on every tier. Check with AWS whether your requirements are covered: directory sync from Active Directory or LDAP, automated joiner, mover and leaver provisioning, access to legacy on-premises apps without federation support, and the admin and audit reporting your compliance team expects. Two design limits matter for workforce identity. Usernames cannot change after creation, and the sub identifier does not follow the RFC UUID format, so plan for both in your application code. A self-hosted option such as Keycloak supports LDAP and Active Directory user federation, but you would own any remaining gaps.
Where is our identity data processed, and what about FedRAMP?
Okta runs cells in the US, EMEA, Japan, Australia, Canada and India, and states that sub-processor processing locations can vary with the service and cell you select, so request the written data location for your tenant. Confirm Cognito's regions, data handling and sub-processor locations against AWS documentation for the exact services you plan to use. For FedRAMP, Okta for Government High holds FedRAMP High authorization, announced March 28, 2023, but that is a separate government offering, so confirm which Okta product and authorization boundary covers your agency or contractor work. Check AWS compliance documentation for the Cognito services and region you would use. A self-hosted identity provider keeps data where you place it, but it does not inherit a cloud provider's authorization. DeployOpen prepares systems, controls and evidence for assessments but does not issue authorizations.
Who patches a self-hosted option, and can our team run it alone?
With Okta or Cognito, the vendor operates the service and applies its own updates. With a self-hosted option such as Keycloak, your team or a contracted provider owns patching, upgrades, backups and monitoring. Keycloak 26.8.1 was released on October 13, 2026, and since Keycloak 26.0 the project plans four minor releases a year, with breaking changes in minor releases made opt-in. Plan a regular upgrade cadence, a test environment and a tested rollback path. Whether your team can run it alone depends on identity protocol experience, container or VM operations, database administration and on-call coverage. Teams without that depth can add a retainer for upgrades, continuous testing and support. DeployOpen plans, implements, hardens, backs up, upgrades and documents self-hosted platforms inside your infrastructure, under a written scope.
How DeployOpen helps evaluate, implement or integrate the choice
DeployOpen approaches the Okta vs Amazon Cognito choice through a written scope first, and moves to implementation only if the team chooses a self-hosted identity provider such as Keycloak or authentik. Work is deployed inside your own cloud accounts or data centers, with SSO, access control, audit logging and data handling controls that your security and compliance teams can review. Engagements are fixed-scope, and ongoing support is available as a retainer.
How we scope
- The written scope names the Okta suite or Cognito plan under review and the applications that depend on it.
- Cost inputs are scoped too: Okta per-user suites against Cognito's monthly active user tiers, using user counts you confirm.
- Deliverables, exclusions and timelines are agreed in writing before any work starts, so the decision is documented first.
How we build
- Deploy the chosen self-hosted identity provider, such as Keycloak or authentik, in your own cloud accounts or data centers.
- Connect SSO for OIDC and SAML 2.0 apps, plus LDAP or Active Directory federation where your user directory lives.
- Configure access control and audit logging so your security team can review the setup before go-live.
How we hand over
- Documentation covers the architecture, configuration, admin runbooks and the list of apps re-federated from Okta or Cognito.
- Backup and restore for the identity platform are set up and documented, including Keycloak export and import limits.
- Migration records list which Okta or Cognito users, groups, apps and attributes were moved, and which were rebuilt by hand.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Retainers can cover Keycloak upgrades, given the project's four planned minor releases a year.
- Confirm supported versions and security advisory channels for your chosen product before setting an upgrade cadence.

