@workos/mcp-docs-server 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.docs/organized/changelogs/workos-platform.json +277 -0
- package/.docs/organized/docs/admin-portal/_navigation.mdx +16 -0
- package/.docs/organized/docs/admin-portal/custom-branding.mdx +111 -0
- package/.docs/organized/docs/admin-portal/example-apps.mdx +46 -0
- package/.docs/organized/docs/admin-portal/index.mdx +240 -0
- package/.docs/organized/docs/audit-logs/_navigation.mdx +22 -0
- package/.docs/organized/docs/audit-logs/admin-portal.mdx +20 -0
- package/.docs/organized/docs/audit-logs/editing-events.mdx +27 -0
- package/.docs/organized/docs/audit-logs/exporting-events.mdx +29 -0
- package/.docs/organized/docs/audit-logs/index.mdx +110 -0
- package/.docs/organized/docs/audit-logs/log-streams.mdx +56 -0
- package/.docs/organized/docs/audit-logs/metadata-schema.mdx +21 -0
- package/.docs/organized/docs/custom-domains/_navigation.mdx +16 -0
- package/.docs/organized/docs/custom-domains/admin-portal.mdx +38 -0
- package/.docs/organized/docs/custom-domains/auth-api.mdx +59 -0
- package/.docs/organized/docs/custom-domains/authkit.mdx +36 -0
- package/.docs/organized/docs/custom-domains/email.mdx +41 -0
- package/.docs/organized/docs/custom-domains/index.mdx +19 -0
- package/.docs/organized/docs/dashboard.mdx +244 -0
- package/.docs/organized/docs/demo/_navigation.mdx +26 -0
- package/.docs/organized/docs/demo/accordion.mdx +34 -0
- package/.docs/organized/docs/demo/checklist.mdx +33 -0
- package/.docs/organized/docs/demo/code-block.mdx +185 -0
- package/.docs/organized/docs/demo/definition-list.mdx +35 -0
- package/.docs/organized/docs/demo/index.mdx +7 -0
- package/.docs/organized/docs/demo/punctuation.mdx +37 -0
- package/.docs/organized/docs/demo/replacements.mdx +26 -0
- package/.docs/organized/docs/demo/table.mdx +26 -0
- package/.docs/organized/docs/demo/tabs.mdx +17 -0
- package/.docs/organized/docs/directory-sync/_navigation.mdx +28 -0
- package/.docs/organized/docs/directory-sync/attributes.mdx +209 -0
- package/.docs/organized/docs/directory-sync/example-apps.mdx +46 -0
- package/.docs/organized/docs/directory-sync/handle-inactive-users.mdx +52 -0
- package/.docs/organized/docs/directory-sync/identity-provider-role-assignment.mdx +134 -0
- package/.docs/organized/docs/directory-sync/index.mdx +107 -0
- package/.docs/organized/docs/directory-sync/quick-start.mdx +129 -0
- package/.docs/organized/docs/directory-sync/understanding-events.mdx +209 -0
- package/.docs/organized/docs/domain-verification/_navigation.mdx +10 -0
- package/.docs/organized/docs/domain-verification/api.mdx +60 -0
- package/.docs/organized/docs/domain-verification/index.mdx +67 -0
- package/.docs/organized/docs/email.mdx +109 -0
- package/.docs/organized/docs/events/_navigation.mdx +22 -0
- package/.docs/organized/docs/events/data-syncing/data-reconciliation.mdx +56 -0
- package/.docs/organized/docs/events/data-syncing/events-api.mdx +114 -0
- package/.docs/organized/docs/events/data-syncing/index.mdx +66 -0
- package/.docs/organized/docs/events/data-syncing/webhooks.mdx +173 -0
- package/.docs/organized/docs/events/index.mdx +783 -0
- package/.docs/organized/docs/events/observability/datadog.mdx +76 -0
- package/.docs/organized/docs/fga/_navigation.mdx +64 -0
- package/.docs/organized/docs/fga/identity-provider-sessions.mdx +68 -0
- package/.docs/organized/docs/fga/index.mdx +60 -0
- package/.docs/organized/docs/fga/local-development.mdx +155 -0
- package/.docs/organized/docs/fga/modeling/abac.mdx +107 -0
- package/.docs/organized/docs/fga/modeling/blocklist.mdx +84 -0
- package/.docs/organized/docs/fga/modeling/conditional-roles.mdx +99 -0
- package/.docs/organized/docs/fga/modeling/custom-roles.mdx +90 -0
- package/.docs/organized/docs/fga/modeling/entitlements.mdx +127 -0
- package/.docs/organized/docs/fga/modeling/managed-service-provider.mdx +131 -0
- package/.docs/organized/docs/fga/modeling/org-roles-and-permissions.mdx +95 -0
- package/.docs/organized/docs/fga/modeling/policy-context.mdx +231 -0
- package/.docs/organized/docs/fga/modeling/public-access.mdx +61 -0
- package/.docs/organized/docs/fga/modeling/shareable-content.mdx +106 -0
- package/.docs/organized/docs/fga/modeling/superusers.mdx +74 -0
- package/.docs/organized/docs/fga/modeling/user-groups.mdx +92 -0
- package/.docs/organized/docs/fga/operations-usage.mdx +104 -0
- package/.docs/organized/docs/fga/playground.mdx +12 -0
- package/.docs/organized/docs/fga/policies.mdx +462 -0
- package/.docs/organized/docs/fga/query-language.mdx +112 -0
- package/.docs/organized/docs/fga/quick-start.mdx +174 -0
- package/.docs/organized/docs/fga/resources.mdx +92 -0
- package/.docs/organized/docs/fga/schema-management.mdx +224 -0
- package/.docs/organized/docs/fga/schema.mdx +388 -0
- package/.docs/organized/docs/fga/warrant-tokens.mdx +44 -0
- package/.docs/organized/docs/fga/warrants.mdx +92 -0
- package/.docs/organized/docs/glossary.mdx +184 -0
- package/.docs/organized/docs/integrations/_navigation.mdx +6 -0
- package/.docs/organized/docs/integrations/access-people-hr.mdx +87 -0
- package/.docs/organized/docs/integrations/adp-oidc.mdx +103 -0
- package/.docs/organized/docs/integrations/apple.mdx +169 -0
- package/.docs/organized/docs/integrations/auth0-directory-sync.mdx +78 -0
- package/.docs/organized/docs/integrations/auth0-enterprise-connection.mdx +92 -0
- package/.docs/organized/docs/integrations/auth0-saml.mdx +81 -0
- package/.docs/organized/docs/integrations/aws-cognito.mdx +81 -0
- package/.docs/organized/docs/integrations/bamboohr.mdx +90 -0
- package/.docs/organized/docs/integrations/breathe-hr.mdx +89 -0
- package/.docs/organized/docs/integrations/bubble.mdx +129 -0
- package/.docs/organized/docs/integrations/cas-saml.mdx +65 -0
- package/.docs/organized/docs/integrations/cezanne.mdx +74 -0
- package/.docs/organized/docs/integrations/classlink-saml.mdx +100 -0
- package/.docs/organized/docs/integrations/cloudflare-saml.mdx +164 -0
- package/.docs/organized/docs/integrations/cyberark-saml.mdx +138 -0
- package/.docs/organized/docs/integrations/cyberark-scim.mdx +100 -0
- package/.docs/organized/docs/integrations/duo-saml.mdx +127 -0
- package/.docs/organized/docs/integrations/entra-id-saml.mdx +156 -0
- package/.docs/organized/docs/integrations/entra-id-scim.mdx +218 -0
- package/.docs/organized/docs/integrations/firebase.mdx +98 -0
- package/.docs/organized/docs/integrations/fourth.mdx +66 -0
- package/.docs/organized/docs/integrations/github-oauth.mdx +85 -0
- package/.docs/organized/docs/integrations/gitlab-oauth.mdx +81 -0
- package/.docs/organized/docs/integrations/google-directory-sync.mdx +86 -0
- package/.docs/organized/docs/integrations/google-oauth.mdx +173 -0
- package/.docs/organized/docs/integrations/google-saml.mdx +135 -0
- package/.docs/organized/docs/integrations/hibob.mdx +98 -0
- package/.docs/organized/docs/integrations/jumpcloud-saml.mdx +96 -0
- package/.docs/organized/docs/integrations/jumpcloud-scim.mdx +106 -0
- package/.docs/organized/docs/integrations/keycloak-saml.mdx +128 -0
- package/.docs/organized/docs/integrations/lastpass-saml.mdx +134 -0
- package/.docs/organized/docs/integrations/linkedin-oauth.mdx +77 -0
- package/.docs/organized/docs/integrations/login-gov-oidc.mdx +103 -0
- package/.docs/organized/docs/integrations/microsoft-ad-fs-saml.mdx +96 -0
- package/.docs/organized/docs/integrations/microsoft-oauth.mdx +101 -0
- package/.docs/organized/docs/integrations/miniorange-saml.mdx +124 -0
- package/.docs/organized/docs/integrations/net-iq-saml.mdx +75 -0
- package/.docs/organized/docs/integrations/next-auth.mdx +257 -0
- package/.docs/organized/docs/integrations/oidc.mdx +64 -0
- package/.docs/organized/docs/integrations/okta-saml.mdx +144 -0
- package/.docs/organized/docs/integrations/okta-scim.mdx +210 -0
- package/.docs/organized/docs/integrations/onelogin-saml.mdx +131 -0
- package/.docs/organized/docs/integrations/onelogin-scim.mdx +150 -0
- package/.docs/organized/docs/integrations/oracle-saml.mdx +76 -0
- package/.docs/organized/docs/integrations/pingfederate-saml.mdx +103 -0
- package/.docs/organized/docs/integrations/pingfederate-scim.mdx +150 -0
- package/.docs/organized/docs/integrations/pingone-saml.mdx +86 -0
- package/.docs/organized/docs/integrations/react-native-expo.mdx +93 -0
- package/.docs/organized/docs/integrations/rippling-saml.mdx +174 -0
- package/.docs/organized/docs/integrations/rippling-scim.mdx +148 -0
- package/.docs/organized/docs/integrations/salesforce-saml.mdx +143 -0
- package/.docs/organized/docs/integrations/saml.mdx +64 -0
- package/.docs/organized/docs/integrations/scim.mdx +64 -0
- package/.docs/organized/docs/integrations/sftp.mdx +150 -0
- package/.docs/organized/docs/integrations/shibboleth-generic-saml.mdx +84 -0
- package/.docs/organized/docs/integrations/shibboleth-unsolicited-saml.mdx +84 -0
- package/.docs/organized/docs/integrations/simple-saml-php.mdx +78 -0
- package/.docs/organized/docs/integrations/slack-oauth.mdx +102 -0
- package/.docs/organized/docs/integrations/supabase.mdx +68 -0
- package/.docs/organized/docs/integrations/vmware-saml.mdx +100 -0
- package/.docs/organized/docs/integrations/workday.mdx +156 -0
- package/.docs/organized/docs/integrations/xero-oauth.mdx +83 -0
- package/.docs/organized/docs/magic-link/_navigation.mdx +16 -0
- package/.docs/organized/docs/magic-link/example-apps.mdx +46 -0
- package/.docs/organized/docs/magic-link/index.mdx +199 -0
- package/.docs/organized/docs/magic-link/launch-checklist.mdx +27 -0
- package/.docs/organized/docs/mfa/_navigation.mdx +18 -0
- package/.docs/organized/docs/mfa/example-apps.mdx +46 -0
- package/.docs/organized/docs/mfa/index.mdx +140 -0
- package/.docs/organized/docs/mfa/ux/enrollment.mdx +74 -0
- package/.docs/organized/docs/mfa/ux/sign-in.mdx +30 -0
- package/.docs/organized/docs/migrate/_navigation.mdx +6 -0
- package/.docs/organized/docs/migrate/auth0.mdx +98 -0
- package/.docs/organized/docs/migrate/aws-cognito.mdx +115 -0
- package/.docs/organized/docs/migrate/clerk.mdx +106 -0
- package/.docs/organized/docs/migrate/firebase.mdx +80 -0
- package/.docs/organized/docs/migrate/other-services.mdx +179 -0
- package/.docs/organized/docs/migrate/standalone-sso.mdx +105 -0
- package/.docs/organized/docs/on-prem-deployment.mdx +119 -0
- package/.docs/organized/docs/postman.mdx +90 -0
- package/.docs/organized/docs/reference/_navigation.mdx +527 -0
- package/.docs/organized/docs/reference/admin-portal/index.mdx +6 -0
- package/.docs/organized/docs/reference/admin-portal/portal-link/generate.mdx +268 -0
- package/.docs/organized/docs/reference/admin-portal/portal-link/index.mdx +15 -0
- package/.docs/organized/docs/reference/admin-portal/provider-icons/index.mdx +52 -0
- package/.docs/organized/docs/reference/api-keys.mdx +22 -0
- package/.docs/organized/docs/reference/audit-logs/audit-log-export.mdx +239 -0
- package/.docs/organized/docs/reference/audit-logs/audit-log-schema.mdx +69 -0
- package/.docs/organized/docs/reference/audit-logs/create-event.mdx +673 -0
- package/.docs/organized/docs/reference/audit-logs/create-export.mdx +308 -0
- package/.docs/organized/docs/reference/audit-logs/create-schema.mdx +95 -0
- package/.docs/organized/docs/reference/audit-logs/get-export.mdx +117 -0
- package/.docs/organized/docs/reference/audit-logs/get-retention.mdx +34 -0
- package/.docs/organized/docs/reference/audit-logs/index.mdx +6 -0
- package/.docs/organized/docs/reference/audit-logs/list-actions.mdx +40 -0
- package/.docs/organized/docs/reference/audit-logs/list-schemas.mdx +40 -0
- package/.docs/organized/docs/reference/audit-logs/set-retention.mdx +39 -0
- package/.docs/organized/docs/reference/client-libraries.mdx +19 -0
- package/.docs/organized/docs/reference/directory-sync/directory/delete.mdx +90 -0
- package/.docs/organized/docs/reference/directory-sync/directory/get.mdx +105 -0
- package/.docs/organized/docs/reference/directory-sync/directory/index.mdx +385 -0
- package/.docs/organized/docs/reference/directory-sync/directory/list.mdx +281 -0
- package/.docs/organized/docs/reference/directory-sync/directory-group/get.mdx +105 -0
- package/.docs/organized/docs/reference/directory-sync/directory-group/index.mdx +277 -0
- package/.docs/organized/docs/reference/directory-sync/directory-group/list.mdx +295 -0
- package/.docs/organized/docs/reference/directory-sync/directory-user/get.mdx +112 -0
- package/.docs/organized/docs/reference/directory-sync/directory-user/index.mdx +470 -0
- package/.docs/organized/docs/reference/directory-sync/directory-user/list.mdx +304 -0
- package/.docs/organized/docs/reference/directory-sync/index.mdx +10 -0
- package/.docs/organized/docs/reference/domain-verification/create.mdx +38 -0
- package/.docs/organized/docs/reference/domain-verification/get.mdx +32 -0
- package/.docs/organized/docs/reference/domain-verification/index.mdx +84 -0
- package/.docs/organized/docs/reference/domain-verification/verify.mdx +36 -0
- package/.docs/organized/docs/reference/errors.mdx +30 -0
- package/.docs/organized/docs/reference/events/index.mdx +9 -0
- package/.docs/organized/docs/reference/events/list.mdx +246 -0
- package/.docs/organized/docs/reference/fga/batch-check.mdx +277 -0
- package/.docs/organized/docs/reference/fga/check.mdx +563 -0
- package/.docs/organized/docs/reference/fga/index.mdx +6 -0
- package/.docs/organized/docs/reference/fga/policy/create.mdx +27 -0
- package/.docs/organized/docs/reference/fga/policy/delete.mdx +18 -0
- package/.docs/organized/docs/reference/fga/policy/get.mdx +23 -0
- package/.docs/organized/docs/reference/fga/policy/index.mdx +52 -0
- package/.docs/organized/docs/reference/fga/policy/list.mdx +41 -0
- package/.docs/organized/docs/reference/fga/policy/update.mdx +26 -0
- package/.docs/organized/docs/reference/fga/query.mdx +375 -0
- package/.docs/organized/docs/reference/fga/resource/batch-write.mdx +175 -0
- package/.docs/organized/docs/reference/fga/resource/create.mdx +130 -0
- package/.docs/organized/docs/reference/fga/resource/delete.mdx +86 -0
- package/.docs/organized/docs/reference/fga/resource/get.mdx +88 -0
- package/.docs/organized/docs/reference/fga/resource/index.mdx +98 -0
- package/.docs/organized/docs/reference/fga/resource/list.mdx +188 -0
- package/.docs/organized/docs/reference/fga/resource/update.mdx +115 -0
- package/.docs/organized/docs/reference/fga/resource-type/apply.mdx +35 -0
- package/.docs/organized/docs/reference/fga/resource-type/create.mdx +24 -0
- package/.docs/organized/docs/reference/fga/resource-type/delete.mdx +22 -0
- package/.docs/organized/docs/reference/fga/resource-type/get.mdx +23 -0
- package/.docs/organized/docs/reference/fga/resource-type/index.mdx +68 -0
- package/.docs/organized/docs/reference/fga/resource-type/list.mdx +36 -0
- package/.docs/organized/docs/reference/fga/resource-type/update.mdx +23 -0
- package/.docs/organized/docs/reference/fga/schema/apply.mdx +42 -0
- package/.docs/organized/docs/reference/fga/schema/get.mdx +24 -0
- package/.docs/organized/docs/reference/fga/schema/index.mdx +39 -0
- package/.docs/organized/docs/reference/fga/warrant/batch-write.mdx +226 -0
- package/.docs/organized/docs/reference/fga/warrant/create.mdx +215 -0
- package/.docs/organized/docs/reference/fga/warrant/delete.mdx +212 -0
- package/.docs/organized/docs/reference/fga/warrant/index.mdx +186 -0
- package/.docs/organized/docs/reference/fga/warrant/list.mdx +282 -0
- package/.docs/organized/docs/reference/idempotency.mdx +21 -0
- package/.docs/organized/docs/reference/index.mdx +194 -0
- package/.docs/organized/docs/reference/magic-link/index.mdx +8 -0
- package/.docs/organized/docs/reference/magic-link/passwordless-session/create.mdx +268 -0
- package/.docs/organized/docs/reference/magic-link/passwordless-session/index.mdx +203 -0
- package/.docs/organized/docs/reference/magic-link/passwordless-session/send-email.mdx +158 -0
- package/.docs/organized/docs/reference/mfa/authentication-challenge.mdx +217 -0
- package/.docs/organized/docs/reference/mfa/authentication-factor.mdx +381 -0
- package/.docs/organized/docs/reference/mfa/challenge-factor.mdx +170 -0
- package/.docs/organized/docs/reference/mfa/delete-factor.mdx +93 -0
- package/.docs/organized/docs/reference/mfa/enroll-factor.mdx +241 -0
- package/.docs/organized/docs/reference/mfa/get-factor.mdx +108 -0
- package/.docs/organized/docs/reference/mfa/index.mdx +8 -0
- package/.docs/organized/docs/reference/mfa/verify-challenge.mdx +228 -0
- package/.docs/organized/docs/reference/organization/create.mdx +216 -0
- package/.docs/organized/docs/reference/organization/delete.mdx +89 -0
- package/.docs/organized/docs/reference/organization/get-by-external-id.mdx +40 -0
- package/.docs/organized/docs/reference/organization/get.mdx +104 -0
- package/.docs/organized/docs/reference/organization/index.mdx +274 -0
- package/.docs/organized/docs/reference/organization/list.mdx +258 -0
- package/.docs/organized/docs/reference/organization/update.mdx +236 -0
- package/.docs/organized/docs/reference/organization-domain.mdx +189 -0
- package/.docs/organized/docs/reference/pagination.mdx +244 -0
- package/.docs/organized/docs/reference/radar/attempts/create.mdx +115 -0
- package/.docs/organized/docs/reference/radar/attempts/index.mdx +7 -0
- package/.docs/organized/docs/reference/radar/attempts/update.mdx +34 -0
- package/.docs/organized/docs/reference/radar/index.mdx +8 -0
- package/.docs/organized/docs/reference/radar/lists/delete.mdx +36 -0
- package/.docs/organized/docs/reference/radar/lists/index.mdx +7 -0
- package/.docs/organized/docs/reference/radar/lists/update.mdx +36 -0
- package/.docs/organized/docs/reference/rate-limits.mdx +50 -0
- package/.docs/organized/docs/reference/roles/index.mdx +268 -0
- package/.docs/organized/docs/reference/roles/list-for-organization.mdx +152 -0
- package/.docs/organized/docs/reference/sso/connection/delete.mdx +89 -0
- package/.docs/organized/docs/reference/sso/connection/get.mdx +104 -0
- package/.docs/organized/docs/reference/sso/connection/index.mdx +388 -0
- package/.docs/organized/docs/reference/sso/connection/list.mdx +320 -0
- package/.docs/organized/docs/reference/sso/get-authorization-url/error-codes.mdx +28 -0
- package/.docs/organized/docs/reference/sso/get-authorization-url/index.mdx +434 -0
- package/.docs/organized/docs/reference/sso/get-authorization-url/redirect-uri.mdx +21 -0
- package/.docs/organized/docs/reference/sso/index.mdx +8 -0
- package/.docs/organized/docs/reference/sso/logout/authorize.mdx +47 -0
- package/.docs/organized/docs/reference/sso/logout/index.mdx +14 -0
- package/.docs/organized/docs/reference/sso/logout/redirect.mdx +32 -0
- package/.docs/organized/docs/reference/sso/profile/get-profile-and-token.mdx +229 -0
- package/.docs/organized/docs/reference/sso/profile/get-user-profile.mdx +127 -0
- package/.docs/organized/docs/reference/sso/profile/index.mdx +364 -0
- package/.docs/organized/docs/reference/testing.mdx +8 -0
- package/.docs/organized/docs/reference/user-management/access-token/index.mdx +13 -0
- package/.docs/organized/docs/reference/user-management/authentication/code.mdx +448 -0
- package/.docs/organized/docs/reference/user-management/authentication/email-verification.mdx +359 -0
- package/.docs/organized/docs/reference/user-management/authentication/get-authorization-url/error-codes.mdx +25 -0
- package/.docs/organized/docs/reference/user-management/authentication/get-authorization-url/index.mdx +425 -0
- package/.docs/organized/docs/reference/user-management/authentication/get-authorization-url/pkce.mdx +9 -0
- package/.docs/organized/docs/reference/user-management/authentication/get-authorization-url/redirect-uri.mdx +23 -0
- package/.docs/organized/docs/reference/user-management/authentication/index.mdx +66 -0
- package/.docs/organized/docs/reference/user-management/authentication/magic-auth.mdx +353 -0
- package/.docs/organized/docs/reference/user-management/authentication/organization-selection.mdx +349 -0
- package/.docs/organized/docs/reference/user-management/authentication/password.mdx +350 -0
- package/.docs/organized/docs/reference/user-management/authentication/refresh-and-seal-session-data.mdx +57 -0
- package/.docs/organized/docs/reference/user-management/authentication/refresh-token.mdx +381 -0
- package/.docs/organized/docs/reference/user-management/authentication/session-cookie.mdx +79 -0
- package/.docs/organized/docs/reference/user-management/authentication/totp.mdx +369 -0
- package/.docs/organized/docs/reference/user-management/authentication-errors/email-verification-required-error.mdx +42 -0
- package/.docs/organized/docs/reference/user-management/authentication-errors/index.mdx +20 -0
- package/.docs/organized/docs/reference/user-management/authentication-errors/mfa-challenge-error.mdx +44 -0
- package/.docs/organized/docs/reference/user-management/authentication-errors/mfa-enrollment-error.mdx +37 -0
- package/.docs/organized/docs/reference/user-management/authentication-errors/organization-authentication-required-error.mdx +68 -0
- package/.docs/organized/docs/reference/user-management/authentication-errors/organization-selection-error.mdx +44 -0
- package/.docs/organized/docs/reference/user-management/authentication-errors/sso-required-error.mdx +51 -0
- package/.docs/organized/docs/reference/user-management/email-verification/get.mdx +88 -0
- package/.docs/organized/docs/reference/user-management/email-verification/index.mdx +227 -0
- package/.docs/organized/docs/reference/user-management/identity/index.mdx +74 -0
- package/.docs/organized/docs/reference/user-management/identity/list.mdx +52 -0
- package/.docs/organized/docs/reference/user-management/index.mdx +13 -0
- package/.docs/organized/docs/reference/user-management/invitation/accept.mdx +39 -0
- package/.docs/organized/docs/reference/user-management/invitation/find-by-token.mdx +87 -0
- package/.docs/organized/docs/reference/user-management/invitation/get.mdx +87 -0
- package/.docs/organized/docs/reference/user-management/invitation/index.mdx +374 -0
- package/.docs/organized/docs/reference/user-management/invitation/list.mdx +247 -0
- package/.docs/organized/docs/reference/user-management/invitation/revoke.mdx +90 -0
- package/.docs/organized/docs/reference/user-management/invitation/send.mdx +230 -0
- package/.docs/organized/docs/reference/user-management/logout/get-logout-url-from-session-cookie.mdx +52 -0
- package/.docs/organized/docs/reference/user-management/logout/get-logout-url.mdx +147 -0
- package/.docs/organized/docs/reference/user-management/logout/index.mdx +26 -0
- package/.docs/organized/docs/reference/user-management/magic-auth/create.mdx +148 -0
- package/.docs/organized/docs/reference/user-management/magic-auth/get.mdx +88 -0
- package/.docs/organized/docs/reference/user-management/magic-auth/index.mdx +225 -0
- package/.docs/organized/docs/reference/user-management/mfa/authentication-challenge.mdx +194 -0
- package/.docs/organized/docs/reference/user-management/mfa/authentication-factor.mdx +324 -0
- package/.docs/organized/docs/reference/user-management/mfa/enroll-auth-factor.mdx +296 -0
- package/.docs/organized/docs/reference/user-management/mfa/index.mdx +5 -0
- package/.docs/organized/docs/reference/user-management/mfa/list-auth-factors.mdx +194 -0
- package/.docs/organized/docs/reference/user-management/organization-membership/create.mdx +155 -0
- package/.docs/organized/docs/reference/user-management/organization-membership/deactivate.mdx +106 -0
- package/.docs/organized/docs/reference/user-management/organization-membership/delete.mdx +76 -0
- package/.docs/organized/docs/reference/user-management/organization-membership/get.mdx +95 -0
- package/.docs/organized/docs/reference/user-management/organization-membership/index.mdx +265 -0
- package/.docs/organized/docs/reference/user-management/organization-membership/list.mdx +291 -0
- package/.docs/organized/docs/reference/user-management/organization-membership/reactivate.mdx +106 -0
- package/.docs/organized/docs/reference/user-management/organization-membership/update.mdx +119 -0
- package/.docs/organized/docs/reference/user-management/password-reset/create.mdx +108 -0
- package/.docs/organized/docs/reference/user-management/password-reset/get.mdx +88 -0
- package/.docs/organized/docs/reference/user-management/password-reset/index.mdx +227 -0
- package/.docs/organized/docs/reference/user-management/password-reset/reset-password.mdx +144 -0
- package/.docs/organized/docs/reference/user-management/session-helpers/authenticate.mdx +176 -0
- package/.docs/organized/docs/reference/user-management/session-helpers/get-logout-url.mdx +42 -0
- package/.docs/organized/docs/reference/user-management/session-helpers/index.mdx +14 -0
- package/.docs/organized/docs/reference/user-management/session-helpers/load-sealed-session.mdx +105 -0
- package/.docs/organized/docs/reference/user-management/session-helpers/refresh.mdx +213 -0
- package/.docs/organized/docs/reference/user-management/session-tokens/access-token.mdx +90 -0
- package/.docs/organized/docs/reference/user-management/session-tokens/index.mdx +5 -0
- package/.docs/organized/docs/reference/user-management/session-tokens/jwks.mdx +110 -0
- package/.docs/organized/docs/reference/user-management/session-tokens/refresh-token.mdx +8 -0
- package/.docs/organized/docs/reference/user-management/user/create.mdx +327 -0
- package/.docs/organized/docs/reference/user-management/user/delete.mdx +76 -0
- package/.docs/organized/docs/reference/user-management/user/get-by-external-id.mdx +39 -0
- package/.docs/organized/docs/reference/user-management/user/get.mdx +103 -0
- package/.docs/organized/docs/reference/user-management/user/index.mdx +322 -0
- package/.docs/organized/docs/reference/user-management/user/list.mdx +260 -0
- package/.docs/organized/docs/reference/user-management/user/update.mdx +344 -0
- package/.docs/organized/docs/reference/vault/index.mdx +6 -0
- package/.docs/organized/docs/reference/vault/key/create-data-key.mdx +106 -0
- package/.docs/organized/docs/reference/vault/key/decrypt-data-key.mdx +84 -0
- package/.docs/organized/docs/reference/vault/key/decrypt-data.mdx +52 -0
- package/.docs/organized/docs/reference/vault/key/encrypt-data.mdx +58 -0
- package/.docs/organized/docs/reference/vault/key/index.mdx +25 -0
- package/.docs/organized/docs/reference/vault/object/create.mdx +62 -0
- package/.docs/organized/docs/reference/vault/object/delete.mdx +75 -0
- package/.docs/organized/docs/reference/vault/object/get.mdx +50 -0
- package/.docs/organized/docs/reference/vault/object/index.mdx +174 -0
- package/.docs/organized/docs/reference/vault/object/list.mdx +105 -0
- package/.docs/organized/docs/reference/vault/object/metadata.mdx +52 -0
- package/.docs/organized/docs/reference/vault/object/update.mdx +67 -0
- package/.docs/organized/docs/reference/vault/object/version.mdx +87 -0
- package/.docs/organized/docs/reference/vault/object/versions.mdx +83 -0
- package/.docs/organized/docs/reference/widgets/get-token.mdx +185 -0
- package/.docs/organized/docs/reference/widgets/index.mdx +6 -0
- package/.docs/organized/docs/reference/workos-connect/authorize/index.mdx +75 -0
- package/.docs/organized/docs/reference/workos-connect/index.mdx +33 -0
- package/.docs/organized/docs/reference/workos-connect/introspection/index.mdx +122 -0
- package/.docs/organized/docs/reference/workos-connect/metadata/index.mdx +25 -0
- package/.docs/organized/docs/reference/workos-connect/metadata/oauth-authorization-server/index.mdx +99 -0
- package/.docs/organized/docs/reference/workos-connect/metadata/openid-configuration/index.mdx +70 -0
- package/.docs/organized/docs/reference/workos-connect/token/authorization-code-grant/access-token.mdx +53 -0
- package/.docs/organized/docs/reference/workos-connect/token/authorization-code-grant/id-token.mdx +60 -0
- package/.docs/organized/docs/reference/workos-connect/token/authorization-code-grant/index.mdx +69 -0
- package/.docs/organized/docs/reference/workos-connect/token/client-credentials-grant/access-token.mdx +46 -0
- package/.docs/organized/docs/reference/workos-connect/token/client-credentials-grant/index.mdx +56 -0
- package/.docs/organized/docs/reference/workos-connect/token/index.mdx +39 -0
- package/.docs/organized/docs/reference/workos-connect/token/refresh-token-grant.mdx +69 -0
- package/.docs/organized/docs/reference/workos-connect/userinfo/index.mdx +46 -0
- package/.docs/organized/docs/sdks/dotnet.mdx +6 -0
- package/.docs/organized/docs/sdks/elixir.mdx +6 -0
- package/.docs/organized/docs/sdks/go.mdx +6 -0
- package/.docs/organized/docs/sdks/java.mdx +9 -0
- package/.docs/organized/docs/sdks/laravel.mdx +6 -0
- package/.docs/organized/docs/sdks/node.mdx +9 -0
- package/.docs/organized/docs/sdks/php.mdx +6 -0
- package/.docs/organized/docs/sdks/python.mdx +6 -0
- package/.docs/organized/docs/sdks/ruby.mdx +9 -0
- package/.docs/organized/docs/sso/_navigation.mdx +44 -0
- package/.docs/organized/docs/sso/_sequence-diagrams/saml-protocol-security-considerations.md +59 -0
- package/.docs/organized/docs/sso/attributes.mdx +110 -0
- package/.docs/organized/docs/sso/domains.mdx +111 -0
- package/.docs/organized/docs/sso/example-apps.mdx +46 -0
- package/.docs/organized/docs/sso/identity-provider-role-assignment.mdx +113 -0
- package/.docs/organized/docs/sso/index.mdx +295 -0
- package/.docs/organized/docs/sso/it-team-faq.mdx +35 -0
- package/.docs/organized/docs/sso/jit-provisioning.mdx +101 -0
- package/.docs/organized/docs/sso/launch-checklist.mdx +71 -0
- package/.docs/organized/docs/sso/login-flows.mdx +101 -0
- package/.docs/organized/docs/sso/redirect-uris.mdx +44 -0
- package/.docs/organized/docs/sso/saml-security.mdx +122 -0
- package/.docs/organized/docs/sso/signing-certificates.mdx +121 -0
- package/.docs/organized/docs/sso/single-logout.mdx +45 -0
- package/.docs/organized/docs/sso/test-sso.mdx +73 -0
- package/.docs/organized/docs/sso/ux/sign-in.mdx +44 -0
- package/.docs/organized/docs/user-management/_navigation.mdx +87 -0
- package/.docs/organized/docs/user-management/actions.mdx +169 -0
- package/.docs/organized/docs/user-management/authkit.mdx +69 -0
- package/.docs/organized/docs/user-management/branding.mdx +143 -0
- package/.docs/organized/docs/user-management/connect.mdx +110 -0
- package/.docs/organized/docs/user-management/custom-emails.mdx +164 -0
- package/.docs/organized/docs/user-management/directory-provisioning.mdx +78 -0
- package/.docs/organized/docs/user-management/domain-verification.mdx +28 -0
- package/.docs/organized/docs/user-management/email-password.mdx +42 -0
- package/.docs/organized/docs/user-management/email-verification.mdx +29 -0
- package/.docs/organized/docs/user-management/entitlements.mdx +46 -0
- package/.docs/organized/docs/user-management/example-apps.mdx +39 -0
- package/.docs/organized/docs/user-management/identity-linking.mdx +52 -0
- package/.docs/organized/docs/user-management/impersonation.mdx +82 -0
- package/.docs/organized/docs/user-management/index.mdx +525 -0
- package/.docs/organized/docs/user-management/invitations.mdx +60 -0
- package/.docs/organized/docs/user-management/invite-only-signup.mdx +72 -0
- package/.docs/organized/docs/user-management/jit-provisioning.mdx +36 -0
- package/.docs/organized/docs/user-management/jwt-templates.mdx +278 -0
- package/.docs/organized/docs/user-management/magic-auth.mdx +36 -0
- package/.docs/organized/docs/user-management/mcp.mdx +146 -0
- package/.docs/organized/docs/user-management/metadata.mdx +119 -0
- package/.docs/organized/docs/user-management/mfa.mdx +32 -0
- package/.docs/organized/docs/user-management/migrations.mdx +20 -0
- package/.docs/organized/docs/user-management/modeling-your-app.mdx +149 -0
- package/.docs/organized/docs/user-management/organization-policies.mdx +33 -0
- package/.docs/organized/docs/user-management/overview.mdx +46 -0
- package/.docs/organized/docs/user-management/passkeys.mdx +42 -0
- package/.docs/organized/docs/user-management/radar.mdx +127 -0
- package/.docs/organized/docs/user-management/roles-and-permissions.mdx +155 -0
- package/.docs/organized/docs/user-management/sessions.mdx +101 -0
- package/.docs/organized/docs/user-management/social-login.mdx +34 -0
- package/.docs/organized/docs/user-management/sso-with-contractors.mdx +85 -0
- package/.docs/organized/docs/user-management/sso.mdx +96 -0
- package/.docs/organized/docs/user-management/users-organizations.mdx +91 -0
- package/.docs/organized/docs/user-management/widgets.mdx +190 -0
- package/.docs/organized/docs/vault/_navigation.mdx +14 -0
- package/.docs/organized/docs/vault/index.mdx +38 -0
- package/.docs/organized/docs/vault/key-context.mdx +32 -0
- package/.docs/organized/docs/vault/quick-start.mdx +82 -0
- package/README.md +252 -0
- package/dist/chunk-64GKEK6G.js +48 -0
- package/dist/chunk-64GKEK6G.js.map +1 -0
- package/dist/get-tools.d.ts +23 -0
- package/dist/get-tools.js +8 -0
- package/dist/get-tools.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +552 -0
- package/dist/index.js.map +1 -0
- package/dist/prepare.d.ts +2 -0
- package/dist/prepare.js +269 -0
- package/dist/prepare.js.map +1 -0
- package/package.json +49 -0
|
@@ -0,0 +1,369 @@
|
|
|
1
|
+
---
|
|
2
|
+
descriptions:
|
|
3
|
+
authentication:
|
|
4
|
+
totp_code: >-
|
|
5
|
+
The time-based one-time password generated by the factor that was
|
|
6
|
+
challenged.
|
|
7
|
+
challenge_id: >-
|
|
8
|
+
The unique ID of the authentication challenge created for the TOTP factor
|
|
9
|
+
for which the user is enrolled.
|
|
10
|
+
reference:
|
|
11
|
+
curl:
|
|
12
|
+
- key: authenticate_mfa_totp
|
|
13
|
+
id: authenticate_mfa_totp
|
|
14
|
+
url: /reference/user-management/authentication/mfa-totp
|
|
15
|
+
title: /user_management/authenticate
|
|
16
|
+
type: POST
|
|
17
|
+
parameters:
|
|
18
|
+
- key: client_id
|
|
19
|
+
type: string
|
|
20
|
+
description: (client_id)
|
|
21
|
+
- key: client_secret
|
|
22
|
+
type: string
|
|
23
|
+
description: (client_secret)
|
|
24
|
+
- key: grant_type
|
|
25
|
+
type: '"urn:workos:oauth:grant-type:mfa-totp"'
|
|
26
|
+
description: (authentication.grant_type)
|
|
27
|
+
- key: code
|
|
28
|
+
type: string
|
|
29
|
+
description: (authentication.totp_code)
|
|
30
|
+
- key: authentication_challenge_id
|
|
31
|
+
type: string
|
|
32
|
+
description: (authentication.challenge_id)
|
|
33
|
+
- key: pending_authentication_token
|
|
34
|
+
type: string
|
|
35
|
+
description: (authentication.pending_authentication_token)
|
|
36
|
+
- key: ip_address
|
|
37
|
+
type: string
|
|
38
|
+
optional: true
|
|
39
|
+
description: (authentication.ip_address)
|
|
40
|
+
- key: user_agent
|
|
41
|
+
type: string
|
|
42
|
+
optional: true
|
|
43
|
+
description: (authentication.user_agent)
|
|
44
|
+
returns:
|
|
45
|
+
- key: anonymous
|
|
46
|
+
type: object
|
|
47
|
+
unwrap: true
|
|
48
|
+
properties:
|
|
49
|
+
- key: user
|
|
50
|
+
type: user
|
|
51
|
+
description: (user.self)
|
|
52
|
+
- key: organizationId
|
|
53
|
+
type: string
|
|
54
|
+
optional: true
|
|
55
|
+
description: (authentication.organization_id)
|
|
56
|
+
- key: authentication_method
|
|
57
|
+
type: >-
|
|
58
|
+
"SSO" | "Password" | "AppleOAuth" | "GitHubOAuth" |
|
|
59
|
+
"GoogleOAuth" | "MicrosoftOAuth" | "MagicAuth" | "Impersonation"
|
|
60
|
+
optional: false
|
|
61
|
+
description: (authentication.authentication_method)
|
|
62
|
+
js:
|
|
63
|
+
- key: authenticateWithTotp
|
|
64
|
+
id: authenticate_mfa_totp
|
|
65
|
+
url: /reference/user-management/authentication/mfa-totp
|
|
66
|
+
title: userManagement.authenticateWithTotp()
|
|
67
|
+
parameters:
|
|
68
|
+
- key: clientId
|
|
69
|
+
type: string
|
|
70
|
+
description: (client_id)
|
|
71
|
+
- key: code
|
|
72
|
+
type: string
|
|
73
|
+
description: (authentication.totp_code)
|
|
74
|
+
- key: authenticationChallengeId
|
|
75
|
+
type: string
|
|
76
|
+
description: (authentication.challenge_id)
|
|
77
|
+
- key: pendingAuthenticationToken
|
|
78
|
+
type: string
|
|
79
|
+
description: (authentication.pending_authentication_token)
|
|
80
|
+
- key: ipAddress
|
|
81
|
+
type: string
|
|
82
|
+
optional: true
|
|
83
|
+
description: (authentication.ip_address)
|
|
84
|
+
- key: userAgent
|
|
85
|
+
type: string
|
|
86
|
+
optional: true
|
|
87
|
+
description: (authentication.user_agent)
|
|
88
|
+
- key: session
|
|
89
|
+
type: object
|
|
90
|
+
optional: true
|
|
91
|
+
unwrap: true
|
|
92
|
+
properties:
|
|
93
|
+
- key: sealSession
|
|
94
|
+
type: boolean
|
|
95
|
+
description: (authentication.seal_session)
|
|
96
|
+
- key: cookiePassword
|
|
97
|
+
type: string
|
|
98
|
+
optional: true
|
|
99
|
+
description: (authentication.cookie_password_seal)
|
|
100
|
+
returns:
|
|
101
|
+
- key: anonymous
|
|
102
|
+
type: object
|
|
103
|
+
unwrap: true
|
|
104
|
+
properties:
|
|
105
|
+
- key: user
|
|
106
|
+
type: User
|
|
107
|
+
description: (user.self)
|
|
108
|
+
- key: organizationId
|
|
109
|
+
type: string
|
|
110
|
+
optional: true
|
|
111
|
+
description: (authentication.organization_id)
|
|
112
|
+
- key: authenticationMethod
|
|
113
|
+
type: >-
|
|
114
|
+
"SSO" | "Password" | "AppleOAuth" | "GitHubOAuth" |
|
|
115
|
+
"GoogleOAuth" | "MicrosoftOAuth" | "MagicAuth" | "Impersonation"
|
|
116
|
+
optional: false
|
|
117
|
+
description: (authentication.authentication_method)
|
|
118
|
+
- key: sealedSession
|
|
119
|
+
type: string
|
|
120
|
+
optional: true
|
|
121
|
+
description: (authentication.sealed_session)
|
|
122
|
+
python:
|
|
123
|
+
- key: authenticate_with_totp
|
|
124
|
+
id: authenticate_mfa_totp
|
|
125
|
+
url: /reference/user-management/authentication/mfa-totp
|
|
126
|
+
title: user_management.authenticate_with_totp()
|
|
127
|
+
parameters:
|
|
128
|
+
- key: code
|
|
129
|
+
type: str
|
|
130
|
+
description: (authentication.totp_code)
|
|
131
|
+
- key: authentication_challenge_id
|
|
132
|
+
type: str
|
|
133
|
+
description: (authentication.challenge_id)
|
|
134
|
+
- key: pending_authentication_token
|
|
135
|
+
type: str
|
|
136
|
+
description: (authentication.pending_authentication_token)
|
|
137
|
+
- key: ip_address
|
|
138
|
+
type: str
|
|
139
|
+
optional: true
|
|
140
|
+
description: (authentication.ip_address)
|
|
141
|
+
- key: user_agent
|
|
142
|
+
type: str
|
|
143
|
+
optional: true
|
|
144
|
+
description: (authentication.user_agent)
|
|
145
|
+
returns:
|
|
146
|
+
- key: anonymous
|
|
147
|
+
type: AuthenticationResponse
|
|
148
|
+
unwrap: true
|
|
149
|
+
properties:
|
|
150
|
+
- key: user
|
|
151
|
+
type: User
|
|
152
|
+
description: (user.self)
|
|
153
|
+
- key: organization_id
|
|
154
|
+
type: str
|
|
155
|
+
optional: true
|
|
156
|
+
description: (authentication.organization_id)
|
|
157
|
+
- key: access_token
|
|
158
|
+
type: str
|
|
159
|
+
optional: false
|
|
160
|
+
description: (authentication.access_token)
|
|
161
|
+
- key: refresh_token
|
|
162
|
+
type: str
|
|
163
|
+
optional: false
|
|
164
|
+
description: (authentication.refresh_token)
|
|
165
|
+
go:
|
|
166
|
+
- key: AuthenticateWithTOTP
|
|
167
|
+
id: authenticate_mfa_totp
|
|
168
|
+
url: /reference/user-management/authentication/magic-totp
|
|
169
|
+
title: usermanagement.AuthenticateWithTOTP()
|
|
170
|
+
parameters:
|
|
171
|
+
- (ctx)
|
|
172
|
+
- key: opts
|
|
173
|
+
type: usermanagement.AuthenticateWithTOTPOpts
|
|
174
|
+
unwrap: true
|
|
175
|
+
properties:
|
|
176
|
+
- key: ClientID
|
|
177
|
+
type: string
|
|
178
|
+
description: (client_id)
|
|
179
|
+
- key: Code
|
|
180
|
+
type: string
|
|
181
|
+
description: (authentication.totp_code)
|
|
182
|
+
- key: AuthenticationChallengeID
|
|
183
|
+
type: string
|
|
184
|
+
description: (authentication.challenge_id)
|
|
185
|
+
- key: PendingAuthenticationToken
|
|
186
|
+
type: string
|
|
187
|
+
description: (authentication.pending_authentication_token)
|
|
188
|
+
- key: IPAddress
|
|
189
|
+
type: string
|
|
190
|
+
optional: true
|
|
191
|
+
description: (authentication.ip_address)
|
|
192
|
+
- key: UserAgent
|
|
193
|
+
type: string
|
|
194
|
+
optional: true
|
|
195
|
+
description: (authentication.user_agent)
|
|
196
|
+
returns:
|
|
197
|
+
- key: response
|
|
198
|
+
type: object
|
|
199
|
+
unwrap: true
|
|
200
|
+
properties:
|
|
201
|
+
- key: User
|
|
202
|
+
type: User
|
|
203
|
+
description: (user.self)
|
|
204
|
+
- key: OrganizationID
|
|
205
|
+
type: string
|
|
206
|
+
optional: true
|
|
207
|
+
description: (authentication.organization_id)
|
|
208
|
+
- (err)
|
|
209
|
+
php:
|
|
210
|
+
- key: authenticateWithTotp
|
|
211
|
+
id: authenticate_mfa_totp
|
|
212
|
+
url: /reference/user-management/authentication/mfa-totp
|
|
213
|
+
title: $userManagement->authenticateWithTotp()
|
|
214
|
+
parameters:
|
|
215
|
+
- key: clientId
|
|
216
|
+
type: string
|
|
217
|
+
description: (client_id)
|
|
218
|
+
- key: code
|
|
219
|
+
type: string
|
|
220
|
+
description: (authentication.totp_code)
|
|
221
|
+
- key: authenticationChallengeId
|
|
222
|
+
type: string
|
|
223
|
+
description: (authentication.challenge_id)
|
|
224
|
+
- key: pendingAuthenticationToken
|
|
225
|
+
type: string
|
|
226
|
+
description: (authentication.pending_authentication_token)
|
|
227
|
+
- key: ipAddress
|
|
228
|
+
type: string
|
|
229
|
+
optional: true
|
|
230
|
+
description: (authentication.ip_address)
|
|
231
|
+
- key: userAgent
|
|
232
|
+
type: string
|
|
233
|
+
optional: true
|
|
234
|
+
description: (authentication.user_agent)
|
|
235
|
+
returns:
|
|
236
|
+
- key: anonymous
|
|
237
|
+
type: object
|
|
238
|
+
unwrap: true
|
|
239
|
+
properties:
|
|
240
|
+
- key: user
|
|
241
|
+
type: User
|
|
242
|
+
description: (user.self)
|
|
243
|
+
- key: organizationId
|
|
244
|
+
type: string
|
|
245
|
+
optional: true
|
|
246
|
+
description: (authentication.organization_id)
|
|
247
|
+
ruby:
|
|
248
|
+
- key: authenticate_with_totp
|
|
249
|
+
id: authenticate_mfa_totp
|
|
250
|
+
url: /reference/user-management/authentication/mfa-totp
|
|
251
|
+
title: UserManagement.authenticate_with_totp()
|
|
252
|
+
parameters:
|
|
253
|
+
- key: client_id
|
|
254
|
+
type: String
|
|
255
|
+
description: (client_id)
|
|
256
|
+
- key: code
|
|
257
|
+
type: String
|
|
258
|
+
description: (authentication.totp_code)
|
|
259
|
+
- key: authentication_challenge_id
|
|
260
|
+
type: String
|
|
261
|
+
description: (authentication.challenge_id)
|
|
262
|
+
- key: pending_authentication_token
|
|
263
|
+
type: String
|
|
264
|
+
description: (authentication.pending_authentication_token)
|
|
265
|
+
- key: ip_address
|
|
266
|
+
type: String
|
|
267
|
+
optional: true
|
|
268
|
+
description: (authentication.ip_address)
|
|
269
|
+
- key: user_agent
|
|
270
|
+
type: String
|
|
271
|
+
optional: true
|
|
272
|
+
description: (authentication.user_agent)
|
|
273
|
+
returns:
|
|
274
|
+
- key: anonymous
|
|
275
|
+
type: object
|
|
276
|
+
unwrap: true
|
|
277
|
+
properties:
|
|
278
|
+
- key: user
|
|
279
|
+
type: User
|
|
280
|
+
description: (user.self)
|
|
281
|
+
- key: organization_id
|
|
282
|
+
type: String
|
|
283
|
+
optional: true
|
|
284
|
+
description: (authentication.organization_id)
|
|
285
|
+
java:
|
|
286
|
+
- key: authenticateWithTotp
|
|
287
|
+
id: authenticate_mfa_totp
|
|
288
|
+
url: /reference/user-management/authentication/mfa-totp
|
|
289
|
+
title: userManagement.authenticateWithTotp()
|
|
290
|
+
parameters:
|
|
291
|
+
- key: clientId
|
|
292
|
+
type: String
|
|
293
|
+
description: (client_id)
|
|
294
|
+
- key: code
|
|
295
|
+
type: String
|
|
296
|
+
description: (authentication.totp_code)
|
|
297
|
+
- key: authenticationChallengeId
|
|
298
|
+
type: String
|
|
299
|
+
description: (authentication.challenge_id)
|
|
300
|
+
- key: pendingAuthentication_Token
|
|
301
|
+
type: String
|
|
302
|
+
description: (authentication.pending_authentication_token)
|
|
303
|
+
- key: options
|
|
304
|
+
type: AuthenticationAdditionalOptionsBuilder
|
|
305
|
+
optional: true
|
|
306
|
+
unwrap: true
|
|
307
|
+
properties:
|
|
308
|
+
- key: invitationToken
|
|
309
|
+
type: String
|
|
310
|
+
optional: true
|
|
311
|
+
description: (authentication.invitation_token)
|
|
312
|
+
- key: ipAddress
|
|
313
|
+
type: String
|
|
314
|
+
optional: true
|
|
315
|
+
description: (authentication.ip_address)
|
|
316
|
+
- key: userAgent
|
|
317
|
+
type: String
|
|
318
|
+
optional: true
|
|
319
|
+
description: (authentication.user_agent)
|
|
320
|
+
returns:
|
|
321
|
+
- key: response
|
|
322
|
+
type: Authentication
|
|
323
|
+
unwrap: true
|
|
324
|
+
properties:
|
|
325
|
+
- key: user
|
|
326
|
+
type: User
|
|
327
|
+
optional: true
|
|
328
|
+
description: (user.self)
|
|
329
|
+
- key: organizationId
|
|
330
|
+
type: String
|
|
331
|
+
optional: true
|
|
332
|
+
description: (authentication.organization_id)
|
|
333
|
+
- key: accessToken
|
|
334
|
+
type: string
|
|
335
|
+
optional: true
|
|
336
|
+
description: (authentication.access_token)
|
|
337
|
+
- key: refreshToken
|
|
338
|
+
type: string
|
|
339
|
+
optional: true
|
|
340
|
+
description: (authentication.refresh_token)
|
|
341
|
+
- key: impersonator
|
|
342
|
+
type: AuthenticationImpersonator
|
|
343
|
+
optional: true
|
|
344
|
+
properties:
|
|
345
|
+
- key: email
|
|
346
|
+
type: String
|
|
347
|
+
description: (authentication.impersonator.email)
|
|
348
|
+
- key: reason
|
|
349
|
+
type: String
|
|
350
|
+
optional: true
|
|
351
|
+
description: (authentication.impersonator.reason)
|
|
352
|
+
originalPath: >-
|
|
353
|
+
.tmp-workos-clone/packages/docs/content/reference/user-management/authentication/totp.mdx
|
|
354
|
+
---
|
|
355
|
+
|
|
356
|
+
## Authenticate with a time-based one-time password
|
|
357
|
+
|
|
358
|
+
Authenticates a user enrolled into MFA using time-based one-time password (TOTP).
|
|
359
|
+
|
|
360
|
+
Users enrolled into MFA are required to enter a TOTP each time they sign in. When they attempt to authenticate with their credentials, the API will return an [MFA challenge error](/reference/user-management/authentication-errors/mfa-challenge-error) that contains a pending authentication token.
|
|
361
|
+
|
|
362
|
+
To continue with the authentication flow, [challenge](/reference/mfa/challenge-factor) one of the factors returned by the MFA challenge error response and present a UI to the user to enter the TOTP code. Then, authenticate the user with the TOTP code, the challenge from the factor, and the pending authentication token from the MFA challenge error.
|
|
363
|
+
|
|
364
|
+
MFA can be enabled via the [Authentication page](https://dashboard.workos.com/authentication) in the WorkOS dashboard.
|
|
365
|
+
|
|
366
|
+
<CodeBlock referenceId="authenticate_mfa_totp">
|
|
367
|
+
<CodeBlockTab title="Request" file="authenticate-mfa-totp-request" />
|
|
368
|
+
<CodeBlockTab title="Response" file="authenticate-mfa-totp-response" />
|
|
369
|
+
</CodeBlock>
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
reference:
|
|
3
|
+
json:
|
|
4
|
+
- key: email_verification_required_error
|
|
5
|
+
id: email_verification_required_error
|
|
6
|
+
url: >-
|
|
7
|
+
/reference/user-management/authentication-errors/email-verification-required-error
|
|
8
|
+
title: email_verification_required
|
|
9
|
+
sendsEmail: true
|
|
10
|
+
properties:
|
|
11
|
+
- key: code
|
|
12
|
+
type: '"email_verification_required"'
|
|
13
|
+
description: (authentication_errors.code)
|
|
14
|
+
- key: message
|
|
15
|
+
type: string
|
|
16
|
+
description: (authentication_errors.message)
|
|
17
|
+
- key: pending_authentication_token
|
|
18
|
+
type: string
|
|
19
|
+
description: (authentication_errors.pending_authentication_token)
|
|
20
|
+
- key: email
|
|
21
|
+
type: string
|
|
22
|
+
description: (user.email)
|
|
23
|
+
- key: email_verification_id
|
|
24
|
+
type: string
|
|
25
|
+
description: (email_verification.id)
|
|
26
|
+
originalPath: >-
|
|
27
|
+
.tmp-workos-clone/packages/docs/content/reference/user-management/authentication-errors/email-verification-required-error.mdx
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## Email verification required error
|
|
31
|
+
|
|
32
|
+
This error indicates that a user with an unverified email address attempted to authenticate in an environment where email verification is required. It includes a pending authentication token that should be used to complete the authentication.
|
|
33
|
+
|
|
34
|
+
<CodeBlock
|
|
35
|
+
title="Email verification required error"
|
|
36
|
+
referenceId="email_verification_required_error"
|
|
37
|
+
file="email-verification-required-error"
|
|
38
|
+
/>
|
|
39
|
+
|
|
40
|
+
When this error occurs and the [email setting](/user-management/custom-emails) for email verification is enabled, WorkOS will automatically send a one-time email verification code to the user’s email address and issue a pending authentication token. If the email setting is not enabled, [retrieve the email verification code](/reference/user-management/email-verification/get) to send the email verification email yourself. To complete the authentication process, use the pending authentication token from the error and the one-time code the user received to [authenticate](/reference/user-management/authentication) them and to verify their email address.
|
|
41
|
+
|
|
42
|
+
The same applies when a user attempts to authenticate with OAuth or SSO, but there was already an account with a matching unverified email address.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
descriptions:
|
|
3
|
+
authentication_errors:
|
|
4
|
+
code: A string constant that distinguishes the error type.
|
|
5
|
+
message: A human-readable message describing the error.
|
|
6
|
+
pending_authentication_token: >
|
|
7
|
+
A token that should be used to complete the authentication with a
|
|
8
|
+
corresponding method after this error occurs.
|
|
9
|
+
email: The email of the authenticating user.
|
|
10
|
+
originalPath: >-
|
|
11
|
+
.tmp-workos-clone/packages/docs/content/reference/user-management/authentication-errors/index.mdx
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# Authentication errors
|
|
17
|
+
|
|
18
|
+
Integrating the authentication API directly requires handling error responses for email verification, MFA challenges, identity linking, and organization selection. One or more of these responses may be returned for an authentication attempt with any authentication method.
|
|
19
|
+
|
|
20
|
+
Hosted AuthKit handles authentication errors for you and may be a good choice if you prefer a simpler integration.
|
package/.docs/organized/docs/reference/user-management/authentication-errors/mfa-challenge-error.mdx
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
descriptions:
|
|
3
|
+
authentication_errors:
|
|
4
|
+
authentication_factors: |
|
|
5
|
+
IDs and types of the [factors](/reference/mfa) the user is enrolled in.
|
|
6
|
+
reference:
|
|
7
|
+
json:
|
|
8
|
+
- key: mfa_challenge_error
|
|
9
|
+
id: mfa_challenge_error
|
|
10
|
+
url: /reference/user-management/authentication-errors/mfa-challenge-error
|
|
11
|
+
title: mfa_challenge
|
|
12
|
+
properties:
|
|
13
|
+
- key: code
|
|
14
|
+
type: '"mfa_challenge"'
|
|
15
|
+
description: (authentication_errors.code)
|
|
16
|
+
- key: message
|
|
17
|
+
type: string
|
|
18
|
+
description: (authentication_errors.message)
|
|
19
|
+
- key: pending_authentication_token
|
|
20
|
+
type: string
|
|
21
|
+
description: (authentication_errors.pending_authentication_token)
|
|
22
|
+
- key: authentication_factors
|
|
23
|
+
type: array
|
|
24
|
+
description: (authentication_errors.authentication_factors)
|
|
25
|
+
- key: user
|
|
26
|
+
type: user
|
|
27
|
+
description: (user.self)
|
|
28
|
+
originalPath: >-
|
|
29
|
+
.tmp-workos-clone/packages/docs/content/reference/user-management/authentication-errors/mfa-challenge-error.mdx
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## MFA challenge error
|
|
33
|
+
|
|
34
|
+
This error indicates that a user enrolled into MFA attempted to authenticate in an environment where MFA is required. It includes a pending authentication token and a list of factors that the user is enrolled in that should be used to complete the authentication.
|
|
35
|
+
|
|
36
|
+
<CodeBlock
|
|
37
|
+
title="MFA challenge error"
|
|
38
|
+
referenceId="mfa_challenge_error"
|
|
39
|
+
file="mfa-challenge-error"
|
|
40
|
+
/>
|
|
41
|
+
|
|
42
|
+
When this error occurs, you’ll need to present an MFA challenge UI to the user and authenticate them with their [TOTP code](/reference/user-management/authentication/totp), the pending authentication token from this error, and a [challenge](/reference/mfa/challenge-factor) that corresponds to one of the authentication factors.
|
|
43
|
+
|
|
44
|
+
MFA can be enabled via the [Authentication page](https://dashboard.workos.com/authentication) in the WorkOS dashboard.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
reference:
|
|
3
|
+
json:
|
|
4
|
+
- key: mfa_enrollment_error
|
|
5
|
+
id: mfa_enrollment_error
|
|
6
|
+
url: /reference/user-management/authentication-errors/mfa-enrollment-error
|
|
7
|
+
title: mfa_enrollment
|
|
8
|
+
properties:
|
|
9
|
+
- key: code
|
|
10
|
+
type: '"mfa_enrollment"'
|
|
11
|
+
description: (authentication_errors.code)
|
|
12
|
+
- key: message
|
|
13
|
+
type: string
|
|
14
|
+
description: (authentication_errors.message)
|
|
15
|
+
- key: pending_authentication_token
|
|
16
|
+
type: string
|
|
17
|
+
description: (authentication_errors.pending_authentication_token)
|
|
18
|
+
- key: user
|
|
19
|
+
type: user
|
|
20
|
+
description: (user.self)
|
|
21
|
+
originalPath: >-
|
|
22
|
+
.tmp-workos-clone/packages/docs/content/reference/user-management/authentication-errors/mfa-enrollment-error.mdx
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## MFA enrollment error
|
|
26
|
+
|
|
27
|
+
This error indicates that a user who is not enrolled into MFA attempted to authenticate in an environment where MFA is required. It includes a pending authentication token that should be used to authenticate the user once they enroll into MFA.
|
|
28
|
+
|
|
29
|
+
<CodeBlock
|
|
30
|
+
title="MFA enrollment error"
|
|
31
|
+
referenceId="mfa_enrollment_error"
|
|
32
|
+
file="mfa-enrollment-error"
|
|
33
|
+
/>
|
|
34
|
+
|
|
35
|
+
When this error occurs, you’ll need to present an [MFA enrollment](/reference/user-management/mfa/enroll-auth-factor) UI to the user. Once the user has enrolled, present an MFA challenge UI to the user and authenticate them with their [TOTP code](/reference/user-management/authentication/totp) and the pending authentication token from this error.
|
|
36
|
+
|
|
37
|
+
MFA can be enabled via the [Authentication page](https://dashboard.workos.com/authentication) in the WorkOS dashboard.
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
---
|
|
2
|
+
descriptions:
|
|
3
|
+
authentication_errors:
|
|
4
|
+
sso_connection_ids: >
|
|
5
|
+
A list of SSO [connection](/reference/sso/connection) IDs that the user
|
|
6
|
+
can authenticate with.
|
|
7
|
+
apple_oauth: Whether or not Sign in with Apple is enabled for the organization.
|
|
8
|
+
github_oauth: Whether or not GitHub OAuth is enabled for the organization.
|
|
9
|
+
google_oauth: Whether or not Google OAuth is enabled for the organization.
|
|
10
|
+
microsoft_oauth: Whether or not Microsoft OAuth is enabled for the organization.
|
|
11
|
+
password: Whether or not password authentication is enabled for the organization.
|
|
12
|
+
magic_auth: Whether or not Magic Auth is enabled for the organization.
|
|
13
|
+
reference:
|
|
14
|
+
json:
|
|
15
|
+
- key: organization_authentication_required_error
|
|
16
|
+
id: organization_authentication_required_error
|
|
17
|
+
url: >-
|
|
18
|
+
/reference/user-management/authentication-errors/organization-authentication-required-error
|
|
19
|
+
title: organization_authentication_methods_required
|
|
20
|
+
properties:
|
|
21
|
+
- key: error
|
|
22
|
+
type: '"organization_authentication_methods_required"'
|
|
23
|
+
description: (authentication_errors.code)
|
|
24
|
+
- key: error_description
|
|
25
|
+
type: string
|
|
26
|
+
description: (authentication_errors.message)
|
|
27
|
+
- key: email
|
|
28
|
+
type: string
|
|
29
|
+
description: (authentication_errors.email)
|
|
30
|
+
- key: sso_connection_ids
|
|
31
|
+
type: array
|
|
32
|
+
description: (authentication_errors.connection_ids)
|
|
33
|
+
- key: auth_methods
|
|
34
|
+
type: object
|
|
35
|
+
properties:
|
|
36
|
+
- key: apple_oauth
|
|
37
|
+
type: boolean
|
|
38
|
+
description: (authentication_errors.apple_oauth)
|
|
39
|
+
- key: github_oauth
|
|
40
|
+
type: boolean
|
|
41
|
+
description: (authentication_errors.github_oauth)
|
|
42
|
+
- key: google_oauth
|
|
43
|
+
type: boolean
|
|
44
|
+
description: (authentication_errors.google_oauth)
|
|
45
|
+
- key: magic_auth
|
|
46
|
+
type: boolean
|
|
47
|
+
description: (authentication_errors.magic_auth)
|
|
48
|
+
- key: microsoft_oauth
|
|
49
|
+
type: boolean
|
|
50
|
+
description: (authentication_errors.microsoft_oauth)
|
|
51
|
+
- key: password
|
|
52
|
+
type: boolean
|
|
53
|
+
description: (authentication_errors.password)
|
|
54
|
+
originalPath: >-
|
|
55
|
+
.tmp-workos-clone/packages/docs/content/reference/user-management/authentication-errors/organization-authentication-required-error.mdx
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## Organization authentication required error
|
|
59
|
+
|
|
60
|
+
This error indicates that a user attempted to authenticate with an authentication method that is not allowed by the organization that has a [domain policy](/user-management/organization-policies) managing this user. It includes all the possible methods the user can use to authenticate.
|
|
61
|
+
|
|
62
|
+
<CodeBlock
|
|
63
|
+
title="Organization authentication required error"
|
|
64
|
+
referenceId="organization_authentication_required_error"
|
|
65
|
+
file="organization-authentication-required-error"
|
|
66
|
+
/>
|
|
67
|
+
|
|
68
|
+
When this error occurs, you’ll need to present the user with these options so they can choose which method to continue authentication.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
descriptions:
|
|
3
|
+
authentication_errors:
|
|
4
|
+
organizations: >
|
|
5
|
+
IDs and names of the [organizations](/reference/organization) the user is
|
|
6
|
+
a member of.
|
|
7
|
+
reference:
|
|
8
|
+
json:
|
|
9
|
+
- key: organization_selection_required_error
|
|
10
|
+
id: organization_selection_required_error
|
|
11
|
+
url: >-
|
|
12
|
+
/reference/user-management/authentication-errors/organization-selection-error
|
|
13
|
+
title: organization_selection_required
|
|
14
|
+
properties:
|
|
15
|
+
- key: code
|
|
16
|
+
type: '"organization_selection_required"'
|
|
17
|
+
description: (authentication_errors.code)
|
|
18
|
+
- key: message
|
|
19
|
+
type: string
|
|
20
|
+
description: (authentication_errors.message)
|
|
21
|
+
- key: pending_authentication_token
|
|
22
|
+
type: string
|
|
23
|
+
description: (authentication_errors.pending_authentication_token)
|
|
24
|
+
- key: user
|
|
25
|
+
type: user
|
|
26
|
+
description: (user.self)
|
|
27
|
+
- key: organizations
|
|
28
|
+
type: array
|
|
29
|
+
description: (authentication_errors.organizations)
|
|
30
|
+
originalPath: >-
|
|
31
|
+
.tmp-workos-clone/packages/docs/content/reference/user-management/authentication-errors/organization-selection-error.mdx
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## Organization selection required error
|
|
35
|
+
|
|
36
|
+
This error indicates that the user is a member of multiple organizations and must select which organization to sign in to. It includes a list of organizations the user is a member of and a pending authentication token that should be used to complete the authentication.
|
|
37
|
+
|
|
38
|
+
<CodeBlock
|
|
39
|
+
title="Organization selection required error"
|
|
40
|
+
referenceId="organization_selection_required_error"
|
|
41
|
+
file="organization-selection-error"
|
|
42
|
+
/>
|
|
43
|
+
|
|
44
|
+
When this error occurs, you’ll need to display the list of organizations that the user is a member of and authenticate them with the [selected organization](/reference/user-management/authentication/organization-selection) using the pending authentication token from the error.
|
package/.docs/organized/docs/reference/user-management/authentication-errors/sso-required-error.mdx
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
descriptions:
|
|
3
|
+
authentication_errors:
|
|
4
|
+
connection_ids: >
|
|
5
|
+
A list of SSO [connection](/reference/sso/connection) IDs that the user is
|
|
6
|
+
required to authenticate with. One of these connections must be used.
|
|
7
|
+
optional_pending_authentication_token: >
|
|
8
|
+
A token that should be used to complete the authentication with the
|
|
9
|
+
`authorization_code` grant type after this error occurs.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
This may be `null`, which indicates that no pending authentication token
|
|
13
|
+
needs to be passed to the authenticate call.
|
|
14
|
+
reference:
|
|
15
|
+
json:
|
|
16
|
+
- key: sso_required_error
|
|
17
|
+
id: sso_required_error
|
|
18
|
+
url: /reference/user-management/authentication-errors/sso-required-error
|
|
19
|
+
title: sso_required
|
|
20
|
+
properties:
|
|
21
|
+
- key: error
|
|
22
|
+
type: '"sso_required"'
|
|
23
|
+
description: (authentication_errors.code)
|
|
24
|
+
- key: error_description
|
|
25
|
+
type: string
|
|
26
|
+
description: (authentication_errors.message)
|
|
27
|
+
- key: email
|
|
28
|
+
type: string
|
|
29
|
+
description: (authentication_errors.email)
|
|
30
|
+
- key: connection_ids
|
|
31
|
+
type: array
|
|
32
|
+
description: (authentication_errors.connection_ids)
|
|
33
|
+
- key: pending_authentication_token
|
|
34
|
+
type: string
|
|
35
|
+
optional: true
|
|
36
|
+
description: (authentication_errors.optional_pending_authentication_token)
|
|
37
|
+
originalPath: >-
|
|
38
|
+
.tmp-workos-clone/packages/docs/content/reference/user-management/authentication-errors/sso-required-error.mdx
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## SSO required error
|
|
42
|
+
|
|
43
|
+
This error indicates that a user attempted to authenticate into an organization that requires SSO using a different authentication method. It includes a list of SSO connections that may be used to complete the authentication.
|
|
44
|
+
|
|
45
|
+
<CodeBlock
|
|
46
|
+
title="SSO required error"
|
|
47
|
+
referenceId="sso_required_error"
|
|
48
|
+
file="sso-required-error"
|
|
49
|
+
/>
|
|
50
|
+
|
|
51
|
+
When this error occurs, you’ll need to use one of the SSO connections from the error to [get the authorization URL](/reference/user-management/authentication/get-authorization-url) and redirect the user to that URL to complete the authentication with the organization’s identity provider.
|