What Strapi admin SSO with Okta does and when to use it
Use Okta sign-in for the Strapi admin panel when editors and administrators should authenticate with the corporate Okta identity instead of local Strapi passwords. Joiners, movers and leavers are then handled in one place, and access ends when the Okta account is disabled. The integration is built on the passport-okta-oauth20 strategy, and it governs only administrator login. Strapi SSO does not cover front-end users, who sign in through the Users and Permissions plugin with a separate provider configuration. Confirm this split early, because a team that expects Okta to protect its public or customer logins will find that it does not.
The main decision is whether local login stays available after SSO is live. Keeping it gives a break-glass path if Okta or the callback is misconfigured, but it leaves a second set of credentials to govern and audit. Locking it out removes that exposure and makes Okta the only route in, which means the recovery plan must be settled before go-live. Strapi's SSO documentation describes an optional local login lock-out, so decide the setting deliberately and test the recovery path in a non-production environment first.
Licensing decides whether this is possible at all. Per Strapi's self-hosted pricing page, SSO is not part of the Community Edition, is an add-on on the Growth plan, and is included in Enterprise. Ask your Strapi or procurement contact to confirm which plan and add-on your organization will hold before the work is scoped, because the cost of SSO depends on that choice and on whether audit logs, which are an Enterprise feature, are also needed.
Prerequisites for Strapi admin SSO with Okta
Settle these items before any configuration starts, because most delays come from a missing plan entitlement, an unsupported runtime or an Okta account without the rights to create an app integration. Each card covers one dependency and what to confirm for it.
Supported Strapi 5 installation
Confirm the project runs Strapi 5 on an Active or Maintenance LTS Node.js version, which Strapi requires. Strapi 4 reached end of life on April 30, 2026, so an SSO build on v4 needs an upgrade decision first. Check the exact patch release you run, since minor releases ship often and the SSO code path should match your current version.
Installation requirementsSupported production database
Strapi 5 supports PostgreSQL 14 or later, MySQL 8.0 or later, MariaDB 10.3 or later and SQLite 3, and it does not support MongoDB or other NoSQL databases. Confirm your database version against that list before adding SSO, because the admin user records that SSO auto-registration creates live in this database and must survive restores.
Strapi plan with SSO entitlement
SSO is an add-on for the Growth plan and is included in Enterprise, so a Community install cannot use this setup. Confirm the exact entitlement with Strapi for your edition and account before starting, because plan terms change. Ask in writing whether the SSO feature and any seat count you need are covered.
Self-hosted pricingOkta org with app integration rights
You need an Okta org where your account can create an app integration for the Strapi admin panel and assign groups or users to it. Confirm with your Okta administrator that the account holds that role, and that a non-production Okta org or preview tenant exists for testing. Record the Okta domain you will use for the OKTA_DOMAIN value so it matches the org where the app is created.
Public HTTPS URL for the admin panel
The Okta redirect (callback) URL must point to the public HTTPS address of your Strapi admin panel, so decide the host name, certificate and reverse proxy before configuration. A local or internal-only address will not work with a hosted identity provider. Confirm that the URL Strapi serves matches the one you register in Okta, including scheme and any path prefix.
Named Okta groups and admin roles
Decide which Okta groups or users become Strapi administrators, and which Strapi admin role each group maps to before the first sign-in. Auto-registration creates an account with a default role, so review that default and who is allowed in. Keep a named list of owners who can grant roles and recover access if SSO fails, and confirm whether you will keep local login available during rollout.
Okta sign-in reaches the Strapi admin panel through a callback the server controls
An editor opens the Strapi admin panel and is sent to Okta's authorization endpoint, with the redirect built from your OKTA_DOMAIN value. After sign-in, Okta returns an authorization code to the browser, which forwards it to the Strapi callback URL. The Strapi server then exchanges that code with Okta's token endpoint directly, server to server, and creates or matches the admin account and assigns the default role. Before testing, confirm that the domain value, the callback URL in your Okta app and the browser path all agree.
Browser path to Okta, then the server-side callback and role assignment.
Configuration sequence for Okta sign-in in Strapi
This sequence takes an Okta org from app integration to working administrator sign-in in the Strapi admin panel. It ends with a tested login, a default role for new admins, and a recorded decision on whether local login stays enabled.
Create the Okta app integration
An Okta administrator creates an OIDC web application integration for Strapi admin login and selects the authorization code grant. Set the sign-in redirect URI to the Strapi SSO callback URL for your admin panel, using the exact scheme, host and path of your deployment, because Okta matches redirect URIs exactly. Assign the groups or users who should be able to sign in. Done when the app shows as active in the Okta admin console with the redirect URI saved and the assignments visible.
Record the client ID and secret
Copy the client ID and client secret from the Okta app's general settings. Store them in your secrets manager or deployment environment, keeping them out of the Strapi codebase and version control. Confirm the secret was copied in full, since a truncated value fails during the token exchange and typically appears as a generic sign-in error. Note the Okta org domain for the next step. Done when the values sit in the environment that runs Strapi and you can name the people with access to them.
Set OKTA_DOMAIN to match the redirect
Set the
OKTA_DOMAINenvironment variable to the Okta org domain that belongs to the app you created in step one. A domain that does not match the app or the redirect target is a common cause of redirect loops, where the browser bounces between Okta and the login page without finishing. Confirm the exact value format in the Strapi SSO documentation and thepassport-okta-oauth20documentation for your Strapi version before deploying. Done when a fresh browser session reaches Okta, returns to Strapi once, and lands in the admin panel.Configure the Strapi SSO provider
In the SSO settings of the Strapi admin panel, add the Okta provider with the client ID, client secret and the callback URL from step one. Turn on auto-registration so first-time users are created on sign-in, and choose a default role with the least access the team needs, such as a content editor role. Avoid assigning Super Admin by default. Save the settings and confirm the provider shows as enabled. Done when the settings save without validation errors and the Okta option appears on the admin login page.
Test with a non-admin account
Sign in with a standard Okta user who has no existing Strapi account, using a separate account from the one that configured the integration. Confirm the new admin user appears in the Strapi user list with the default role. Then try an action outside that role, such as editing a content type, and confirm it is refused. Check the Okta System Log for the sign-in event and the Strapi logs for callback errors. Done when the test user reaches the expected content areas and no other areas.
Decide on local login lock-out
Decide whether email and password login to the admin panel stays available. Keep local login enabled during rollout so administrators can recover access if Okta is unavailable. Turn on the lock-out only after every admin has confirmed sign-in through Okta and a named recovery route exists. Document who may change this setting and where recovery credentials are kept. Done when the decision is written down, the setting matches it, and one administrator has confirmed the recovery route works.
How Okta identities and groups map to Strapi admin accounts
This table compares each Okta identity signal with the Strapi admin field or role it feeds, and names who should approve each mapping before go-live. Read it as a checklist: confirm each claim name your passport strategy actually returns in a test login, then fix the default role and the group-to-role rules. The main takeaway is that role assignment is only as reliable as the claims and group membership Okta sends.
| Okta signal | Strapi admin field or role | Approval owner |
|---|---|---|
| Primary email | Admin account email, used as the login identity on first sign-in | Identity team with the security lead |
| Given and family name | Admin first and last name shown in the admin panel | IT service owner |
| Username or login | Confirm the claim your strategy returns, since it may not map to a Strapi username field | Identity team |
| User active status | Deactivated Okta users must lose admin access, so confirm whether Strapi re-checks them on each login | Security lead |
| Okta group membership | Mapped to a Strapi admin role through your own rules in the callback, not automatic | Content owner with the security lead |
| App assignment | Controls who can start the Okta sign-in at all, independent of group claims | Identity team |
| Default role for auto-registered admins | Lowest-privilege role that still allows the first login, reviewed before enabling auto-registration | Security lead and CMS owner |
| Local login lock-out | Decide whether local admin accounts stay available for recovery, and who holds those credentials | CISO or delegate |
Assigning admin roles when Okta users first sign in
The default role decides what every new Okta user can do the first time they sign in to the Strapi admin panel. When auto-registration is enabled, Strapi creates an administrator account for anyone who authenticates successfully through Okta and assigns the default role configured for SSO. That makes the default role the most important access setting in the whole integration. Set it to the least-privileged role your content model allows, such as a role that can sign in and read or draft content in a limited set of content types, and grant anything broader through a deliberate, recorded decision. Confirm the current SSO settings, including the default role option and whether local login is locked out, against the Strapi SSO documentation for your version before go-live.
The risk is inheritance. If the default role is too broad, anyone with a valid Okta account in the connected tenant or application assignment can reach editorial or settings screens, and nobody reviews that access because no one requested it. Check which Okta users can reach the Strapi application at all, because assignment in Okta and the default role in Strapi are two separate controls that both need review. Also review who holds the super admin role. That role bypasses the role model, and it should be limited to a small number of named people, with a documented reason for each and a periodic check that the list still matches reality.
Role changes need a process, not an ad hoc edit. When someone moves teams, the Strapi role should change through the same request path used for new access, and the old permissions should be removed rather than left in place. When someone leaves, disable or unassign them in Okta, which blocks new sign-ins, and then deactivate or remove the matching Strapi administrator so existing sessions and records are handled. Confirm with your own tests how Strapi treats a user whose Okta account is disabled. For designing the role model itself, including custom roles per content type and field, use the Strapi admin roles and permissions topic.
Security settings to review for Okta admin login
Signing editors in through Okta moves the front door of the Strapi admin panel to your identity provider, so the Okta app, the Strapi role defaults and the local login path all need deliberate settings. The cards below cover the controls that decide who can reach the panel, what they get on first sign-in and how the team recovers if Okta is unavailable. Broader hardening sits in the Strapi security configuration topic.
Store the Okta client secret outside the codebase
The client ID and client secret for the Okta app are the credentials that let Strapi exchange sign-in codes with Okta. Keep the secret in environment variables injected at runtime or in a secrets manager your platform team already operates, and never commit it to the Strapi project or to a shared .env file in source control. Confirm that rotation is possible without a code change, and that the old secret stops working after you rotate it in Okta.
Assign the Okta app to named groups only
By default, anyone in your Okta org who can reach the Strapi app tile may try to sign in, so the assignment list is your first access control. Assign the app to the specific groups that need the admin panel, such as content editors and developers, and leave out contractors, service accounts and broad all-staff groups. Review assignments on the same schedule as your other application reviews, because group membership changes faster than Strapi roles do.
Enforce MFA and session policy in Okta
Strapi relies on Okta to decide whether a sign-in is strong enough, so the authentication policy that applies to the Strapi app must require multi-factor authentication for admin sign-ins. Set session lifetimes and re-authentication rules in the Okta policy for that app, and confirm with your Okta administrator which policy rule matches Strapi requests. Test a sign-in from an unmanaged device to see whether the policy blocks it as intended.
Decide on local admin login and a break-glass account
The Strapi SSO feature can lock out local email and password login for administrators, which removes a second way in but also a second way to recover. Before you enable the lock-out, keep one break-glass administrator with a strong, offline-stored credential, or confirm a documented procedure to restore local login through the database or server access. Test the recovery path in a staging environment before production, and record who may use it and how the use is reviewed.
Limit the default role for new admins
Auto-registration creates a Strapi admin account the first time a user signs in through Okta, and it assigns the default role you configure. Set that default to the least privileged role that still lets a new editor sign in and work, and give elevated roles only through an explicit assignment by an existing administrator. Review the roles that Okta groups are allowed to map to, so a group change in Okta cannot quietly grant super administrator rights.
Serve the admin panel over HTTPS and review audit logs
Okta returns the sign-in response to the Strapi callback URL, so the admin URL and callback must use HTTPS with a valid certificate, and the Okta app must list only that exact callback. Audit logs record admin activity, but in the Strapi self-hosted plans they are an Enterprise feature, so confirm your plan before you plan on them. If your plan includes them, export the sign-in and role-change events to your log platform and review them on a fixed schedule.
Strapi SSO docsCommon Okta sign-in failures in Strapi and how to fix them
This table lists the failures teams most often hit when Okta sign-in is added to the Strapi admin panel, with the likely cause, how to confirm it and the fix for each. Work through the rows in order, since a wrong OKTA_DOMAIN value or callback URL can hide the problems below it. Confirm exact setting names and formats against the passport-okta-oauth20 and Strapi SSO documentation for your version.
| Failure | Likely cause | How to confirm | Fix |
|---|---|---|---|
| Redirect loop between Okta and the Strapi admin login | OKTA_DOMAIN is missing, has the wrong value or does not match the Okta org that issued the app | Compare the OKTA_DOMAIN value in the Strapi environment with the org domain shown in the Okta admin console, and check the browser's redirect chain | Set OKTA_DOMAIN to the exact org domain for the app, restart Strapi and clear the browser session before testing again |
| Okta reports a redirect URI mismatch | The callback URL registered in the Okta app differs from the one Strapi sends, often in protocol, host, port or path | Copy the callback URL from the Strapi SSO configuration and compare it character by character with the sign-in redirect URI in the Okta app settings | Update the Okta app so the sign-in redirect URI matches the Strapi callback URL for the environment, then retest |
| Token exchange fails after Okta login | The client secret is wrong, has extra whitespace, was rotated in Okta without updating Strapi, or belongs to a different app | Check the environment variable for the client secret against the value in the Okta app, and confirm the client ID is from the same app | Generate or copy the secret again from the correct Okta app, update the environment variable without spaces or line breaks, and restart Strapi |
| User signs in to Okta but cannot open the admin panel | Automatic registration or the default role is not set, so the account has no admin role to receive | Look for the new administrator in the Strapi admin users list and check which role it holds and whether the default role setting is configured | Set the default role for auto-registered admins to the least-privileged role that fits, then assign or correct roles for existing accounts |
| User is blocked before reaching Strapi | The Okta user is not assigned to the Strapi app, either directly or through a group assigned to the app | In the Okta app's Assignments tab, confirm the user or one of their groups is listed, and check the user's group membership in Okta | Assign the required Okta group to the Strapi app, confirm the user belongs to it, and ask the user to sign in again |
| Editors can still log in with a Strapi email and password | The optional local login lock-out was not enabled, or it was enabled but tested with an account that is excluded | Attempt a local login with a non-break-glass admin account and check the SSO settings for the local login option | Enable the local login lock-out in the SSO settings, keep one documented break-glass path under your own control, and retest from a clean session |
| Role changes in Okta do not change access in Strapi | Strapi assigns roles inside its own admin user records, so changes made in Okta groups do not automatically update Strapi roles | Compare the user's Okta group membership with the role shown on the Strapi admin user record | Agree the role model in advance, then update the Strapi role manually or through a documented process, and confirm the behavior for your version |
Which Strapi plans include admin SSO and what that means for Okta
The Community Edition is free to use and is licensed under the MIT Expat license, with unlimited users. The supplied pricing facts do not list admin SSO for Community, so an Okta sign-in for the admin panel should not be assumed on this edition. Teams that choose Community usually plan admin access around local accounts, a documented joiner and leaver process and regular access reviews, then decide whether that model meets their identity policy.
- Free licensing: Code outside the ee directories is covered by the MIT Expat license, so the edition itself carries no per-seat license cost.
- No SSO listed: Admin SSO does not appear in the Community plan listing, so plan for local admin accounts until the vendor confirms otherwise.
- Roles still apply: Role assignment for editors, reviewers and developers remains available, which keeps editorial separation possible without SSO.
- Written confirmation: Ask Strapi to confirm SSO entitlement for the exact edition and version you intend to run, since plan listings change.
Check: confirm in writing whether admin SSO is available on Community before you select this edition for an Okta-backed admin panel.
Growth is the self-hosted plan where admin SSO is sold as an add-on. The self-hosted pricing page lists the plan at 45 US dollars per month including 3 users, with 15 US dollars per month for each extra user. The SSO add-on has its own price, and the published figures above do not state it, so the monthly total for an Okta-backed admin panel is not known until you request that price. Treat the add-on as a recurring line item in your budget, not as a one-time setup fee.
- Base price: The plan lists at 45 US dollars per month and includes 3 users, according to the self-hosted pricing page.
- Extra users: Each user beyond the included three adds 15 US dollars per month, so the total grows with every additional editor or reviewer.
- SSO add-on: Admin SSO is an add-on on Growth, so ask for its current price and billing terms in writing before you commit.
- Editorial features: Content history and releases start at this plan, which may influence the choice alongside SSO.
Check: calculate the monthly total using your actual admin headcount and the quoted SSO add-on price, then compare that total with the Enterprise quote.
Enterprise includes SSO in the plan, and pricing is custom. The same plan also includes audit logs and review workflows, which are Enterprise features in Strapi's self-hosted listing. For regulated teams, this combination often matters more than the SSO line item, because it links admin sign-in to a record of who changed what. Enterprise code sits under the ee directories and is governed by a separate Strapi license, so legal review should happen before the decision is final.
- SSO included: Admin SSO is part of the Enterprise subscription, so the Okta work does not add a separate license line.
- Custom pricing: No list price is published for Enterprise, so the quote depends on your scope and user count.
- Audit logs: Audit logs and review workflows are included, which supports accountability reviews for admin and editorial activity.
- License scope: The Strapi license that governs ee code should be read by your legal team, since it differs from the MIT Expat license that covers the rest of the code.
Check: request a written quote that names SSO, audit logs, review workflows and the license terms that apply to the ee code you will run.
Strapi Cloud is a hosted option with its own plan listings, separate from the self-hosted Community, Growth and Enterprise plans. The Cloud pricing page lists Starter at 35 US dollars per month per project, Pro at 90 and Business at 450, with API request, storage and bandwidth allowances that differ by plan. Because hosting is a separate decision, the self-hosted SSO entitlements do not carry over automatically, and the Cloud plan needs its own check before the Okta steps in this topic are assumed to apply.
- Separate listings: Cloud plans are priced per project, so the self-hosted pricing tables do not give the Cloud cost.
- Listed amounts: Starter lists at 35, Pro at 90 and Business at 450 US dollars per month per project, according to the Cloud pricing page.
- Uptime terms: The Business plan lists a 99.9% uptime SLA, which you should compare with your own availability requirements.
- Allowances: API request, storage and bandwidth limits determine whether a plan fits your traffic, and overage terms need to be confirmed.
Check: confirm the Cloud plan's SSO support, allowances and uptime terms on the Cloud pricing page before you assume the self-hosted configuration applies to your project.
Questions teams ask before setting up Okta sign-in for Strapi
What does Okta sign-in for Strapi cost to set up?
The main cost question is plan entitlement. On Strapi's self-hosted plans, SSO is an add-on for Growth and included in Enterprise, so confirm which plan you run before you scope the work. The effort then depends on four parts: Okta admin access and app setup, role design for each editorial group, testing in a non-production instance, and documentation for your security reviewers. Setup work is one-time, while Strapi plan fees recur. A fixed-scope engagement is agreed in writing before work starts, and the quote follows from that scope. Ask for line items for configuration, role design, testing and handover, and confirm whether a retest is included. Current plan prices are listed on Strapi's self-hosted pricing page.
How long does Okta SSO setup for Strapi take?
The duration depends on scope and on how quickly your Okta and Strapi administrators can make decisions and grant access, so no single timeline fits every organization. The work usually runs in order: confirm plan entitlement, create the Okta application and callback settings, set the OKTA_DOMAIN value and client configuration, configure auto-registration and the default role, test with a pilot group, and then decide whether local login stays available. Delays most often come from access requests and role decisions rather than from configuration. Ask DeployOpen for a timeline as part of the written scope, and ask which of your internal approvals will sit on the critical path.
Can our in-house team set up Okta sign-in for Strapi?
Yes, a team with Node.js configuration skills, Okta administration experience and Strapi admin rights can set it up using Strapi's SSO documentation and the passport-okta-oauth20 strategy. The harder parts are rarely the configuration file itself. Teams often lose time debugging redirect loops, designing role mapping that matches their org chart, and writing the evidence that a security review will ask for. Consider a partner when no one owns the deployment pipeline, when the first go-live has a fixed date, or when the security team needs documented controls before approval. Your team should own the decisions about who gets which role, even when a partner does the build.
What do we need from Okta and Strapi administrators?
Okta administrators need the ability to create a web application integration, set sign-in redirect URIs, and assign users or groups to that app. Strapi administrators need the ability to change environment variables and provider settings, restart the service, and confirm admin roles after the first sign-in. Both teams should agree on a test group, a default role for new editors, and the named owner who approves any exception. Client secrets should go into your approved secret store, not into a repository or a shared chat. Ask for these access grants in writing before work starts, so the first week is not spent waiting for permissions.
Does Okta sign-in also cover end-user login on our front end?
No. Okta sign-in for Strapi covers administrator login to the admin panel only. Strapi's SSO applies to administrators, while end-user authentication is handled separately by the Users and Permissions plugin. Front-end sign-in needs its own provider design, redirect URLs, token handling and session behavior, and that work should be scoped and tested on its own. If your project needs both, plan two workstreams and check that the two designs use compatible identity settings and naming. Confirm this split with your architect before you sign off on scope, because teams often assume one setup covers both.
How do new editors get the right role after signing in with Okta?
New administrators receive the default role configured for auto-registration, so the default should grant the least access that still lets people start work. Role design then decides who can publish, review and change content types. Most teams separate editors, reviewers and developers and map each group to a matching Strapi admin role, but confirm how role assignment works in your Strapi version and configuration before you promise it to stakeholders. Review roles again after each reorganization, because a person who moves teams can keep old rights if no one checks. Document the mapping so an auditor can trace a role back to an approved decision.
What changes after go-live, such as offboarding and secret rotation?
After go-live, offboarding becomes the most important routine. Removing someone in Okta should stop their sign-in, but confirm that a deactivated user cannot keep an active Strapi admin session and that the Strapi account is disabled or removed. Rotate the Okta client secret on a schedule and after any staff change that involved access to it, then update the environment variables and restart Strapi. Review the local login lock-out setting, role assignments and admin activity logs on a regular cadence. Audit logs are an Enterprise feature on Strapi's self-hosted plans, so confirm early whether you need them for your review.
How DeployOpen scopes and delivers Strapi admin SSO with Okta
DeployOpen plans, configures and hands over Okta sign-in for the Strapi admin panel inside your own infrastructure. The work is agreed as a fixed scope with written deliverables, and ongoing support is available as a retainer once the setup is live.
How we scope
- Confirm your Okta org, the Strapi version and hosting model, and whether local admin login stays enabled as a fallback.
- Agree the Okta app integration settings, the OKTA_DOMAIN value and the callback URL for each environment.
- Define which Okta groups map to which Strapi admin roles, and who approves changes to that mapping.
How we build
- Configure the Okta application and the passport-okta-oauth20 provider in a non-production Strapi instance first.
- Set auto-registration and the default role so new sign-ins receive the least access you have approved.
- Test redirect behavior, sign-out, denied users and role assignment before any production change.
How we hand over
- Deliver the configuration, environment variable inventory and a written record of the Okta and Strapi settings.
- Document the runbook for rotating the Okta client secret and for re-enabling local login during an incident.
- Walk your identity and platform teams through the role mapping so they can review it without DeployOpen.
How we support
- Offer ongoing support, Strapi upgrades and recurring checks of the SSO setup as a retainer, if you want them.
- Re-test the sign-in path after Strapi upgrades, Okta tenant changes or changes to the identity provider configuration.
- Agree the support scope and response expectations in writing, since these vary by engagement.

