Devin SSO: SAML, OIDC, SCIM and custom roles

Devin supports SAML 2.0 and OIDC single sign-on on the Teams and Enterprise plans, while SCIM, auto-membership, IdP groups and role assignment are Enterprise only. This page sets out what each edition covers and what your team must configure.

On this page

Devin SSO: does your plan meet the single sign-on requirement?

Your identity team needs to decide whether Devin can sign users in through the company identity provider (IdP). SAML 2.0 and OIDC single sign-on are available on the Teams and Enterprise plans. SCIM provisioning, IdP groups, auto-membership and role assignment are Enterprise only, so a Teams deployment gets sign-in but no automated joiner, mover and leaver handling and no group-based roles. Confirm the plan before you promise users or auditors that offboarding is automated.

On the SAML 2.0 side, Devin's SSO guide lists any compliant identity provider. For OIDC, the guide names Okta, Microsoft Entra ID or a generic OIDC provider. Your team must configure domain verification through a DNS TXT record at _devin-verification under your domain, since only email from verified domains is accepted. Creating the SSO connection does not turn off email, Google or GitHub sign-in, so SSO enforcement is a separate step: you must disable those methods yourself, or staff can keep signing in outside your IdP. Finally, map custom roles to IdP groups, which applies at login only when the provider sends a groups array.

The sources do not cover every IdP-specific detail, including exact claim names, group attribute formats, certificate rotation and how each provider handles SCIM. Ask Cognition to confirm those for your specific IdP, and test sign-in, enforcement and a group-based role assignment in a non-production tenant before approval. The Devin SSO guide is the starting point for that test plan.

Devin SSO capabilities by plan

This table compares which Devin sign-in, provisioning and role features each plan supports, based on Cognition's published SSO, SCIM and custom role documentation. Treat the Free, Pro and Max column as unconfirmed, because the sources do not list SSO for those plans, so ask Cognition in writing before approving them for company accounts. The main takeaway is that SAML and OIDC sign-in starts at the Teams plan, while SCIM, group-based roles and custom roles require Enterprise.

CapabilityFree, Pro and MaxTeamsEnterprise
SAML 2.0 with any compliant identity providerNot listed as supported. Confirm with Cognition before use.SupportedSupported
OIDC with Okta, Microsoft Entra ID or a generic OIDC providerNot listed as supported. Confirm with Cognition before use.SupportedSupported
Domain verification through a DNS TXT recordNot listed as supported. Confirm with Cognition before use.Part of SSO setup. Confirm the Teams scope in writing.Required. Only emails from verified domains are accepted.
SSO enforcement by turning off email, Google and GitHub sign-inNot listed as supported. Confirm with Cognition before use.Admin disables other sign-in methods manuallyAdmin disables other sign-in methods manually
SCIM 2.0 user and group provisioningNot listed as supportedNot listed as supported. Confirm with Cognition.Supported. Creates, updates, deactivates and deletes users and groups.
Auto-membership and IdP group mappingNot listed as supportedNot listed as supported. Confirm with Cognition.Enterprise only
Role assignment at SSO login from a groups arrayNot listed as supportedNot listed as supported. Confirm with Cognition.Enterprise only. Requires the provider to send a groups array.
Custom roles assigned to users or IdP groupsNot listed as supportedNot listed as supported. Confirm with Cognition.Supported. Role-based access control is listed on Enterprise.
Built-in organization and account rolesNot listed as supportedNot listed as supported. Confirm with Cognition.Organization roles: Admin, Member, Review manager, DeepWiki Only. Account roles: Admin, Member.

How Devin's SSO connection, domain check and role mapping fit together

Four components work together, and none of them replaces the others. The identity provider (IdP) authenticates the user and sends the login to Devin over SAML 2.0 or OIDC. Devin then accepts the sign-in only when the email address belongs to a domain your organization has verified. Verification is a DNS TXT record at _devin-verification.<domain>, so the person who controls DNS controls which email domains can join. Before you configure anything, confirm who owns that DNS zone and who can change it, because a stray record or an unmanaged subdomain is the first thing a reviewer will ask about. SCIM, which is an Enterprise feature, then keeps user and group records in step with the IdP after the first login. Confirm with Cognition which of these steps your plan includes, since SSO itself is listed on Teams while auto-membership, IdP groups, role assignment and SCIM are Enterprise only.

Creating an SSO connection does not turn off the other sign-in methods. Email, Google and GitHub sign-in remain available after the connection exists. Enforcement is a separate decision that an admin makes by disabling those methods, so a review of the SSO rollout should record that step as its own control with an owner and a date. Until it is done, a user who bypasses the IdP can still sign in with a personal or unmanaged account on an approved domain path, which defeats the purpose of central access control. Ask Cognition to confirm, in writing, how disabling each method takes effect for existing sessions and API keys, since those may not end when the browser login does.

Role mapping and offboarding depend on what your IdP sends. Devin can assign roles automatically at login through IdP group mappings, but only when the provider sends a groups array in the token. Test this with a pilot group before rollout, because a missing or renamed claim will silently leave users in a default role. Map groups to the built-in organization roles or to custom roles, and keep the mapping under change control, since a broad group grants access to every user in it. On the exit side, deactivating a user in the IdP removes enterprise membership immediately under SCIM. Make that deactivation part of your joiner and leaver process, and confirm with Cognition how it applies to API keys and to any work already running under that user.

How an SSO login, provisioning event and role assignment flow through Devin

The diagram starts with an employee signing in through the company identity provider over SAML 2.0 or OIDC. Devin accepts the login only when the email domain is a verified domain, which is set up with a DNS TXT record. On Enterprise, the groups array from the provider can map to custom roles at login, while SCIM 2.0 pushes create, update, deactivate and delete events for users and groups. Deactivating a user in the identity provider removes enterprise membership immediately. Check which steps your plan includes, since auto-membership, IdP groups, role assignment and SCIM are Enterprise only.

Login, domain check, group-to-role mapping and SCIM deprovisioning in Devin.

Decisions to make before connecting Devin to your identity provider

Before enabling single sign-on for Devin, identity and security owners need to settle a handful of choices that shape how users join, get roles and leave. Each card below names one decision, what it affects and what to confirm with Cognition before the rollout starts.

Choose the protocol and identity provider

Devin supports SAML 2.0 with any compliant identity provider, and OIDC with Okta, Microsoft Entra ID or a generic OIDC provider. Confirm which protocol your IdP is configured for before you open the SSO setup, because the choice determines which attributes and group claims reach Devin. Ask whether your IdP sends a groups array, since role mapping at login depends on it.

SSO guide

Adopt SCIM or rely on login-time provisioning

SCIM 2.0 provisioning is an Enterprise feature that creates, updates, deactivates and deletes users and groups. Without it, membership changes depend on users signing in, and auto-membership and IdP group assignment are also Enterprise only. Deactivating a user in the IdP removes enterprise membership immediately when SCIM is in place, which is the main reason security teams adopt it for offboarding.

SCIM docs

Map groups to built-in or custom roles

Devin provides built-in organization roles (Admin, Member, Review manager, DeepWiki Only) and account roles (Admin, Member), and custom roles can be assigned to users or IdP groups. Decide whether the built-in roles cover your access model or whether you need custom roles. Map each IdP group to exactly one role set, and test a sample login to confirm the assignment matches your intent.

Custom roles docs

Verify domain ownership through DNS

Domain verification requires a DNS TXT record at _devin-verification.<domain>, and only emails from verified domains are accepted. Whoever controls the DNS zone can unlock acceptance of that domain, so confirm which team holds DNS change rights and how changes are approved. Plan for every domain your staff sign in with, including subsidiaries and contractor domains, before enforcement begins.

Decide whether to disable other sign-in methods

Creating an SSO connection does not disable email, Google or GitHub sign-in. Enforcing SSO means turning those methods off, which removes any fallback for users who sit outside the IdP. Review which accounts currently use those methods, including shared or service accounts, and agree on a cutover date and an admin recovery path before switching them off.

Name the owner of the account team relationship

Enterprise SSO, SCIM and custom role settings are configured with Cognition, and AI Guardrails are enabled through the account team. Name one internal owner who can request changes, approve them and receive vendor notices. Ask Cognition in writing who on its side handles SSO configuration and how change requests are logged, so that identity changes are traceable during a security review.

How SSO setup differs by identity provider and plan

Okta is one of the two identity providers that Devin's SSO guide names for OIDC, so it is the most direct path for an OIDC connection. The protocol choice affects which features you can use, because group data and provisioning depend on what Okta sends in the token and whether SCIM is in place. Confirm the details below before you pick a protocol.

  • Protocol: OIDC is the listed option for Okta. Check whether your org uses a SAML app integration instead, since SAML 2.0 is available with any compliant provider.
  • Plan: SSO itself is available on Teams and Enterprise. Auto-membership, IdP groups, role assignment and SCIM 2.0 provisioning are Enterprise only.
  • Group claim: Confirm with your Okta administrator that the token includes a groups array. Role mappings through IdP groups depend on it.
  • Provisioning: SCIM creates, updates, deactivates and deletes users and groups. Confirm the SCIM app is assigned to the right Okta groups before go-live.
  • Domain verification: Your DNS TXT record at _devin-verification.<domain> must exist before only verified-domain emails are accepted.

Ask Cognition to confirm how the group claim is formatted for your Okta tenant before you map any custom role.

Where Devin's SSO model leaves gaps for the reviewer

Single sign-on on Devin settles who can sign in, but it does not settle who should have access over time or which sign-in paths remain open. The cards below cover the gaps a reviewer should close on the Teams plan, on Enterprise, and in the processes around the identity provider.

Manual lifecycle work on Teams

SSO is available on Teams, but auto-membership, IdP groups, role assignment and SCIM 2.0 provisioning are Enterprise only. On Teams, someone must add users, remove them when they leave, and assign roles by hand. Confirm with the account team how a departing employee's access is removed on your plan, and document the owner and timing of each manual step so that offboarding does not depend on memory.

SSO guide

Other sign-in methods stay active

Creating an SSO connection does not disable email, Google or GitHub sign-in. Until an admin turns those methods off, a user may still reach the account through a path that bypasses the identity provider's policies such as MFA, conditional access or session controls. Before approval, confirm which sign-in methods are enabled in your tenant, disable the ones you do not accept, and re-check after any settings change.

Unconfirmed group claim formats

IdP group mappings assign roles at login only when the provider sends a groups array. The sources reviewed do not document the claim format for each provider, how nested or large group lists are handled, or how to troubleshoot a mapping that fails. Ask Cognition for a written example for your identity provider, test with a pilot group, and confirm what happens to a user whose groups are missing from the login.

Custom roles versus built-in roles

Devin provides built-in organization roles (Admin, Member, Review manager, DeepWiki Only) and account roles (Admin, Member), and custom roles can be assigned to users or IdP groups. Map each custom role to a documented business need and confirm exactly which permissions it grants beyond the built-in role it resembles. Reviewers should not assume that a custom role inherits or restricts the same actions across organization and account scopes.

Custom roles docs

Outside access reviews and recertification

Devin does not, in the sources reviewed, provide a recurring access review or recertification workflow for its users and roles. Those reviews should happen in the identity provider, where the group owner confirms membership on a schedule, removes stale accounts and records the decision. Ask who in your organization owns these reviews, how often they run, and how their results are reconciled with the Devin user list.

Rolling out Devin SSO in production, step by step

This sequence moves Devin from a verified domain and a tested identity connection to enforced single sign-on, then to SCIM provisioning and role mapping, so each control is proven before the next one depends on it.

  1. Confirm the plan edition before starting

    Before any configuration, confirm with Cognition or your account team which Devin plan the organization holds. SAML and OIDC single sign-on are listed on the Teams plan, but auto-membership, IdP groups, role assignment and SCIM 2.0 provisioning are Enterprise only, so the rest of this sequence depends on that answer. Ask the vendor to confirm the plan in writing and record which features are included. You know this step is done when the plan name and feature list are written into the rollout record and signed off by the security owner.

  2. Verify domain ownership with a DNS TXT record

    A domain administrator adds a DNS TXT record at the _devin-verification subdomain of your company domain, as described in the SSO guide. Devin accepts sign-in emails only from verified domains, so this step controls which identities can ever reach the SSO connection. Confirm that the record resolves from outside your network and that Devin reports the domain as verified. If the domain is not verified, stop here, because later steps will reject users from that domain.

  3. Configure the SAML or OIDC connection

    The identity team creates the connection in your identity provider and in Devin. SAML 2.0 works with any compliant identity provider, while OIDC is documented for Okta, Microsoft Entra ID or a generic OIDC provider. Record the exact application settings, the identity provider metadata and the claim that carries group membership, since group mappings depend on it. Creating the connection does not switch off other sign-in methods. You know this step is done when a test sign-in through the new connection succeeds for an administrator account and the session shows the expected organization.

  4. Test sign-in with a pilot group

    Choose a small pilot group of users who represent different identity provider groups and roles, and have each person sign in through SSO. Check that each user lands in the correct organization, that their email domain is accepted, and that the sign-in appears in your identity provider logs. Also confirm that the pilot users can still complete a normal work task. Record any failures, such as attribute mismatches or unverified domains, and fix them before expanding. The pilot is complete when every pilot user has signed in successfully at least once and the team has signed off the results.

  5. Disable non-SSO sign-in methods after pilot success

    Once the pilot has passed, an administrator turns off email, Google and GitHub sign-in in Devin so that SSO becomes the only route in. Do this only after pilot success, because turning off the other methods before testing can lock out administrators who depend on them. Keep one documented break-glass administrator path under your own governance process, and confirm who holds it. You know this step is done when a sign-in attempt with a non-SSO method is refused and the change is recorded in the admin change log.

  6. Enable SCIM and IdP group mappings on Enterprise

    On an Enterprise plan, enable SCIM 2.0 provisioning so the identity provider can create, update, deactivate and delete users and groups in Devin. Connect IdP groups so that group membership can drive automatic role assignment at login, which the custom roles documentation supports when the provider sends a groups array. Confirm that the groups sent by the provider match the names you expect. You know this step is done when a test group appears in Devin with the expected members and no unexpected users have been created.

  7. Map groups to custom roles

    Assign custom roles to IdP groups, starting from the built-in organization roles (Admin, Member, Review manager, DeepWiki Only) and account roles (Admin, Member). Give each group the least privilege its work requires, and document which group maps to which role. Test one user from each group to confirm that the role applies at login without manual assignment. Keep a written record of each mapping, because a mistake here affects every member of the group. The step is complete when each mapped group produces the expected permissions for a test user.

  8. Test deactivation and removal

    Test the offboarding path before relying on it. Remove or deactivate a test user in the identity provider and confirm that Devin removes that person's enterprise membership immediately, as the SCIM documentation describes. Then confirm that the user can no longer sign in and that any group-based roles are gone. Run the same test for a group removal. Record the time and result of each test in the rollout record. The rollout is complete when deactivation produces the expected removal in every test and the security owner accepts the evidence.

Evidence a security reviewer asks for on Devin SSO

This table lists the records a security reviewer should request before approving Devin single sign-on, and what each one proves. Read each row as a test: the item shows whether the configuration exists, where it lives in Devin or the identity provider, and what it cannot prove on its own. Confirm each record in your own tenant, since a screenshot taken during setup does not show the state after later changes.

Evidence itemWhat it provesWhere it comes from in Devin or the IdP
SSO connection configurationWhich protocol (SAML 2.0 or OIDC) and which provider are bound to the Devin organization, and that the connection is activeDevin admin SSO settings, compared with the IdP application configuration for the same connection
Verified-domain listWhich email domains Devin accepts for SSO sign-in, backed by a DNS TXT record at the _devin-verification subdomain of each domainDevin domain verification settings, checked against the DNS zone record held by your DNS team
SSO enforcement settingWhether email, Google and GitHub sign-in are switched off, so SSO is the only login path for the organizationDevin sign-in method settings; the SSO guide states that SSO alone does not disable other methods
SCIM provisioning configuration or logThat users and groups are created, updated, deactivated and deleted from the IdP, and that the SCIM feature is in use (Enterprise only)Devin SCIM configuration on Enterprise, with the provisioning log in the IdP application
IdP group-to-role mappingWhich IdP groups assign which Devin roles at SSO login, and whether the IdP sends a groups array that the mapping depends onDevin custom roles and group mapping settings, compared with the group assignments in the IdP
Custom roles list with assignmentsWhich custom roles exist, which built-in organization and account roles they sit beside, and which users or groups hold each roleDevin custom roles documentation view in the admin console, exported for the review file
Deactivation test resultThat disabling a user in the IdP removes enterprise membership in Devin, by running a dated test on a non-production accountTest record kept by your identity team, with the IdP deactivation event and the resulting Devin membership state

Questions buyers ask before approving Devin SSO

Which Devin plan do I need for SSO and for SCIM?

SAML 2.0 and OIDC single sign-on are available on the Teams plan and on Enterprise. SCIM 2.0 provisioning, auto-membership, IdP groups and role assignment are Enterprise only, so any team that needs automatic user lifecycle or group-driven roles must be quoted for Enterprise. The Teams plan is listed at $80 per month and supports up to 100 users, and Enterprise is priced by contacting sales. Confirm the current feature split on the Devin pricing page before the plan decision, because the page reflects the date it was checked and features can move between tiers. Ask Cognition to put the plan, user count and SCIM requirement in writing before procurement starts.

Is Devin Teams pricing per user?

The pricing page lists Teams at $80 per month for up to 100 users but does not state whether that fee is charged per user or as a flat team price. Do not assume either model in your budget. Ask Cognition directly whether the $80 monthly figure is per seat or per organization, how the 100-user limit is counted, whether it includes usage metering beyond the plan, and what happens when you pass the cap. Get the answer in the order form, because the difference between a flat fee and a per-seat fee changes the cost of a 20-person pilot and a 100-person rollout by a multiple of the headcount.

What does the internal team need to do versus an outside partner?

Your identity team owns most of the work: creating the SSO connection in Okta, Microsoft Entra ID or another SAML or OIDC provider, configuring the callback values, deciding which groups map to which roles, and controlling who can reach the admin console. Your Devin administrator owns the DNS change needed for domain verification, which requires access to the DNS zone for your corporate domain. An outside implementation partner can help define the group-to-role mapping, document the enforcement plan and test login paths, but the identity provider and the Devin tenant remain under your administration. DeployOpen plans and implements self-hosted open-source platforms and does not configure Cognition's hosted Devin service, so treat this as a scoping question for the engineering and identity leads rather than a partner-run service. Put the split of responsibilities in the written scope before any work starts.

How long does Devin SSO setup take?

No duration for Devin SSO setup has been published in the sources used for this page, so confirm the timeline with Cognition rather than planning against an estimate. The main variables are the identity provider you use, whether you have admin rights to the DNS zone for domain verification, how many IdP groups need mapping to Devin roles, and whether Enterprise SCIM provisioning is included in the same rollout. A phased plan works well in practice: connect SSO and verify the domain first, test with a small pilot group, then add SCIM and role mapping. Ask Cognition for its onboarding steps, the expected lead time for Enterprise account setup, and any dependencies on your change calendar, and record the answers in the project plan.

Can my team set up Devin SSO without outside help?

Many teams can, provided they have an administrator for the identity provider, DNS access for the verified domain and a named owner for Devin roles. The SSO guide describes a DNS TXT record at _devin-verification.<domain>, and only emails from verified domains are accepted, so the work is mostly configuration and testing rather than custom engineering. Outside help is most useful when the group design is complex, when several identity providers or business units must be consolidated, or when you need an independent test plan with documented evidence for a security review. Whether to bring in help depends on your internal capacity and the number of groups involved. Use the Devin SSO guide as the checklist your team tests against before deciding.

What happens to existing email or GitHub users when SSO is enforced?

Creating an SSO connection does not disable email, Google or GitHub sign-in. Those methods stay active until an admin turns them off, so existing users keep working through their current login during the transition. To enforce SSO, the admin disables the other sign-in methods, and users who only signed in with email or GitHub then must use the corporate identity provider. Plan for users who hold accounts under personal addresses, and for service or automation accounts that may depend on GitHub sign-in. Before enforcement, list every account in the organization, confirm which ones use non-verified domains, and communicate the cutover date. Enforcement is a single switch, so test it in a pilot group first and keep a documented rollback step.

What SSO does not decide: data handling and training

SSO decides who can sign in to Devin, not where your code and prompts go or whether Cognition may learn from them. Enabling SAML or OIDC, verifying your domain and turning off email, Google or GitHub sign-in controls the identity path only. A user admitted through your identity provider still sends source code, tickets and repository context to a service whose reasoning runs in Cognition's cloud. That holds across Enterprise Cloud, Customer Dedicated Deployment and Enterprise Assured, so an SSO rollout should not be presented to risk owners as a data residency control.

Training use is governed by a separate setting. Cognition's security documentation states that, by default, it may use customer data for model training, that paid users can opt out, and that Enterprise customer data is used for training only with prior written consent. Before approval, confirm in writing which account type you hold, whether the training setting is off for every workspace, and who at your organization is authorized to give consent. An SSO connection does not change any of these answers, and an admin who assumes it does may approve a rollout on the wrong basis.

Retention periods, zero data retention with model providers, and what customer-managed keys cover are decided elsewhere in your evaluation. Work through the data retention, training opt-out and zero data retention topic for those terms, and the on-premise and self-hosted options topic for what a dedicated deployment keeps in Cognition's cloud. Treat the SSO design as one control among several: it limits who can reach the service, and those topics determine what the service does with what those users send.

How DeployOpen helps you test and govern Devin sign-in

DeployOpen approaches Devin sign-in as a scoped piece of identity work: agreeing which login methods, identity provider groups and roles your organization needs, then testing them before staff depend on them. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

How we scope

  • Confirm which Devin plan your organization holds, since SSO, SCIM and IdP group features differ between Teams and Enterprise.
  • Document the identity provider in use, whether SAML 2.0 or OIDC with Okta, Microsoft Entra ID or a generic provider.
  • Agree in writing which sign-in methods will be disabled after SSO is live, and who approves the cutover.

How we build

  • Configure the SSO connection and DNS TXT domain verification with your team, so only verified email domains are accepted.
  • Map identity provider groups to Devin custom roles and built-in organization and account roles, and test each mapping.
  • Test SCIM provisioning and deprovisioning with test accounts, confirming that removing a user in the IdP removes Devin access.

How we hand over

  • Deliver a written record of the SSO configuration, group-to-role mappings and the test results for each login path.
  • Document the enforcement steps for turning off email, Google and GitHub sign-in, with the rollback steps agreed in advance.
  • Provide an operating runbook for adding groups, changing roles and reviewing access as your identity provider changes.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • Retesting of SSO and role mappings can follow changes in your identity provider or in Devin's documented features.
  • Confirm with Cognition, through the Devin documentation and your account team, any feature availability that affects your plan.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.