The projects auth-provider commands show and change the auth provider of the currently selected project: which provider issues the JWTs that identify your users, also known as JWT authentication or bring your own auth. They do the same as the JWT Authentication section of the Developer Console.
crossmint projects auth-provider getcrossmint projects auth-provider set
Run crossmint projects auth-provider set and the CLI asks for the provider and what it needs. Pass --provider and its flags to run it without prompts, for example in a script:
# Crossmint Auth, the default; also how to undo a change# (staging only)crossmint projects auth-provider set --provider crossmint# A third-party providercrossmint projects auth-provider set --provider auth0 --provider-id your-tenant.us.auth0.com# Your own JWKS endpointcrossmint projects auth-provider set --provider custom --jwks-uri https://auth.example.com/.well-known/jwks.json --issuer https://auth.example.com
Flag
Description
--provider <provider>
crossmint, auth0, stytch, firebase, supabase, kinde or custom
custom: the expected iss claim. Left out, any issuer is accepted
--user-id-claim <claim>
The claim that holds the user ID. Defaults to sub
--audience <aud>
The aud claim tokens must carry. Kept while the issuer stays, removed when you switch provider or issuer; "" removes it
-y, --yes
Change it even when client keys require JWT auth. Without a terminal, the command fails instead of asking
If client keys of the project require JWT auth, they only accept JWTs from the new provider once
you change it, so your users’ requests may start failing. The CLI lists those keys and asks you to confirm.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Crossmint Docs","colors":{"primary":"#36b37e","light":"#87ff8f","dark":"#001d01"},"logo":{"light":"https://mintcdn.com/crossmint/a8gPOTKEuVFcSfC3/logo/crossmint-light.png?fit=max\u0026auto=format\u0026n=a8gPOTKEuVFcSfC3\u0026q=85\u0026s=8c2671e4c8f7da6956e1508bd68c2928","dark":"https://mintcdn.com/crossmint/a8gPOTKEuVFcSfC3/logo/crossmint-dark.png?fit=max\u0026auto=format\u0026n=a8gPOTKEuVFcSfC3\u0026q=85\u0026s=272ecc17664d17b9ff24471758ff80b2"},"favicon":"https://mintcdn.com/crossmint/xq66q9GV6z6jjj95/favicon.png?fit=max\u0026auto=format\u0026n=xq66q9GV6z6jjj95\u0026q=85\u0026s=00fb89ddf6ba5b1022b9307039c08006","api":{"openapi":["api-reference/_open-api/MintingAPIs.json","api-reference/_open-api/AdminAPIs.json","api-reference/_open-api/VerifiableCredentialsAPIs.json","api-reference/_open-api/Wallets.json"],"examples":{"prefill":true}},"background":{"color":{"dark":"#090b0c"}},"navbar":{"links":[{"href":"https://www.crossmint.com/contact","label":"Support"},{"href":"https://staging.crossmint.com/console","label":"Staging Console"}],"primary":{"type":"button","label":"Console","href":"https://www.crossmint.com/console"}},"footer":{"socials":{"website":"https://www.crossmint.com","twitter":"https://x.com/crossmint","github":"https://github.com/crossmint"}},"integrations":{"ga4":{"measurementId":"G-CP5EDD6GVT"},"posthog":{"apiKey":"phc_tfgodwfjuO9v3Nw0tIWJNzACoi2opL7X2Ly0Mg2UCTz","apiHost":"https://eu.i.posthog.com","sessionRecording":false}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"crossmint","hasAudioNarration":false,"actualSubdomain":"crossmint","customDomains":["docs.crossmint.com"],"gitSource":{"type":"github","owner":"paella-labs","repo":"crossbit-main","deployBranch":"main","contentDirectory":"apps/crossmint-mintlify-docs/src","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true,"contextualFeedback":{"allowEmail":true},"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b00bf6939bff97fc16bcac5","clientVersion":"0.0.4248","searchFilterCounts":[{"language":"default","tag":"Embedded Finance","count":1125},{"language":"default","tag":"API Reference","count":1094},{"language":"default","tag":"Wallets","count":871},{"language":"default","tag":"Kotlin SDK","count":427},{"language":"default","tag":"Swift SDK","count":237},{"language":"default","tag":"Checkout","count":196},{"language":"default","tag":"Classes","count":182},{"language":"default","tag":"Data Classes","count":182},{"language":"default","tag":"Typescript SDK","count":156},{"language":"default","tag":"Guides","count":135}]},"assistantConfig":{"enableAskAiButton":true,"enableStarterQuestions":false,"enableAskAiSearchBar":false,"deflection":{"enabled":true,"type":"link","url":"https://www.crossmint.com/contact/sales"}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".tab-container [data-component-part=\"tabs-list\"]{flex-wrap:wrap;overflow:visible;row-gap:0.25rem}.tab-container [data-component-part=\"tabs-list\"]>li{white-space:nowrap}.nav-dropdown-item,.nav-dropdown-item *{font-weight:500!important;color:rgb(75, 85, 99)!important}.nav-dropdown-item:hover,.nav-dropdown-item:hover *{color:rgb(31, 41, 55)!important}.dark .nav-dropdown-item,.dark .nav-dropdown-item *{color:rgb(156, 163, 175)!important}.dark .nav-dropdown-item:hover,.dark .nav-dropdown-item:hover *{color:rgb(209, 213, 219)!important}#header .eyebrow[data-product]::before{content:attr(data-product) \" / \";white-space:pre;color:rgb(107, 114, 128)}.dark #header .eyebrow[data-product]::before{color:rgb(156, 163, 175)}"}]}
{"page":{"pagePath":"cli/projects/auth-provider","slug":"/cli/projects/auth-provider","pageMetadata":{"title":"Crossmint projects auth-provider","description":"View and configure the auth provider of a project","sidebarTitle":"crossmint projects auth-provider","href":"/cli/projects/auth-provider"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"View and configure the auth provider of a project\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The projects auth-provider commands show and change the auth provider of the currently selected project: which provider issues the JWTs that identify your users, also known as `,_jsx(_components.a,{href:`/introduction/platform/api-keys/jwt-authentication`,children:`JWT authentication`}),` or bring your own auth. They do the same as the JWT Authentication section of the Developer Console.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`crossmint`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` projects`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` auth-provider`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` get`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`crossmint`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` projects`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` auth-provider`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` set`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`view-the-current-configuration`,children:`View the Current Configuration`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`crossmint`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` projects`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` auth-provider`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` get`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`🔐 Auth provider (JWT authentication):`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Provider: auth0`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Provider ID: your-tenant.us.auth0.com`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`JWKS URI: https://your-tenant.us.auth0.com/.well-known/jwks.json`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Issuer: https://your-tenant.us.auth0.com/`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`User ID claim: sub`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Audience: (not checked)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Keys requiring JWT auth: none`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`change-the-configuration`,children:`Change the Configuration`}),`\n`,_jsxs(_components.p,{children:[`Run `,_jsx(_components.code,{children:`crossmint projects auth-provider set`}),` and the CLI asks for the provider and what it needs. Pass `,_jsx(_components.code,{children:`--provider`}),` and its flags to run it without prompts, for example in a script:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Crossmint Auth, the default; also how to undo a change`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# (staging only)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`crossmint`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` projects`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` auth-provider`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` set`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --provider`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` crossmint`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# A third-party provider`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`crossmint`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` projects`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` auth-provider`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` set`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --provider`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` auth0`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --provider-id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` your-tenant.us.auth0.com`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Your own JWKS endpoint`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`crossmint`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` projects`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` auth-provider`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` set`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --provider`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` custom`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --jwks-uri`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://auth.example.com/.well-known/jwks.json`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --issuer`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://auth.example.com`})]}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--provider \u003cprovider>`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`crossmint`}),`, `,_jsx(_components.code,{children:`auth0`}),`, `,_jsx(_components.code,{children:`stytch`}),`, `,_jsx(_components.code,{children:`firebase`}),`, `,_jsx(_components.code,{children:`supabase`}),`, `,_jsx(_components.code,{children:`kinde`}),` or `,_jsx(_components.code,{children:`custom`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--provider-id \u003cid>`})}),_jsx(_components.td,{children:`Third-party providers: Auth0 domain, Stytch project ID, Firebase project ID, Supabase project reference or Kinde subdomain`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--jwks-uri \u003curl>`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`custom`}),`: the `,_jsx(_components.code,{children:`https`}),` URL of your JWKS endpoint`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--issuer \u003ciss>`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`custom`}),`: the expected `,_jsx(_components.code,{children:`iss`}),` claim. Left out, any issuer is accepted`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--user-id-claim \u003cclaim>`})}),_jsxs(_components.td,{children:[`The claim that holds the user ID. Defaults to `,_jsx(_components.code,{children:`sub`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--audience \u003caud>`})}),_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`aud`}),` claim tokens must carry. Kept while the issuer stays, removed when you switch provider or issuer; `,_jsx(_components.code,{children:`\"\"`}),` removes it`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`-y, --yes`})}),_jsx(_components.td,{children:`Change it even when client keys require JWT auth. Without a terminal, the command fails instead of asking`})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`If client keys of the project `,_jsx(_components.a,{href:`/cli/keys/create`,children:`require JWT auth`}),`, they only accept JWTs from the new provider once\nyou change it, so your users’ requests may start failing. The CLI lists those keys and asks you to confirm.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Crossmint projects auth-provider","description":"View and configure the auth provider of a project","sidebarTitle":"crossmint projects auth-provider","href":"/cli/projects/auth-provider"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"View the Current Configuration","slug":"view-the-current-configuration","depth":2,"children":[]},{"title":"Change the Configuration","slug":"change-the-configuration","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/crossmint/d1c432d03c0c4224/scripts/dd.js","/_mintlify/custom/crossmint/7fc8d54052d3edb0/scripts/hubspot.js","/_mintlify/custom/crossmint/109da5a016f21918/scripts/product-breadcrumb.js"],"subdomain":"crossmint","siteName":"Crossmint Docs","title":"Crossmint projects auth-provider - Crossmint Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T14:24:41.641Z","originalFileLocation":"cli/projects/auth-provider.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"View and configure the auth provider of a project\">\u003cmeta data-mint-head name=\"application-name\" content=\"Crossmint Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/crossmint/-1hhMU0vchFPUD3H/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/crossmint/-1hhMU0vchFPUD3H/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/crossmint/-1hhMU0vchFPUD3H/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/crossmint/-1hhMU0vchFPUD3H/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/crossmint/-1hhMU0vchFPUD3H/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/crossmint/-1hhMU0vchFPUD3H/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/crossmint/-1hhMU0vchFPUD3H/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/crossmint/-1hhMU0vchFPUD3H/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/crossmint/-1hhMU0vchFPUD3H/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Crossmint projects auth-provider - Crossmint Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"View and configure the auth provider of a project\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Crossmint Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.crossmint.com/cli/projects/auth-provider\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://crossmint.mintlify.site/_mintlify/api/og/v2?division=Commands\u0026amp;title=Crossmint+projects+auth-provider\u0026amp;description=View+and+configure+the+auth+provider+of+a+project\u0026amp;theme=b8bba0b38c114479513683ad\u0026amp;signature=de71d337af2edc0e132e04bcc5c4aeaee11cebf8b8355af9137d0831ba45ea16\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Crossmint projects auth-provider - Crossmint Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"View and configure the auth provider of a project\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://crossmint.mintlify.site/_mintlify/api/og/v2?division=Commands\u0026amp;title=Crossmint+projects+auth-provider\u0026amp;description=View+and+configure+the+auth+provider+of+a+project\u0026amp;theme=b8bba0b38c114479513683ad\u0026amp;signature=de71d337af2edc0e132e04bcc5c4aeaee11cebf8b8355af9137d0831ba45ea16\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/crossmint/-1hhMU0vchFPUD3H/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Crossmint Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#36b37e\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.crossmint.com/cli/projects/auth-provider\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/cli/projects/auth-provider.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.crossmint.com/#organization\",\"name\":\"Crossmint Docs\",\"url\":\"https://docs.crossmint.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/crossmint/a8gPOTKEuVFcSfC3/logo/crossmint-light.png?fit=max\u0026auto=format\u0026n=a8gPOTKEuVFcSfC3\u0026q=85\u0026s=8c2671e4c8f7da6956e1508bd68c2928\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.crossmint.com#website\",\"name\":\"Crossmint Docs\",\"url\":\"https://docs.crossmint.com\",\"publisher\":{\"@id\":\"https://docs.crossmint.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.crossmint.com/cli/projects/auth-provider#webpage\",\"url\":\"https://docs.crossmint.com/cli/projects/auth-provider\",\"name\":\"Crossmint projects auth-provider\",\"description\":\"View and configure the auth provider of a project\",\"dateModified\":\"2026-11-12T14:24:41.641Z\",\"isPartOf\":{\"@id\":\"https://docs.crossmint.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.crossmint.com/cli/projects/auth-provider#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.crossmint.com/cli/projects/auth-provider#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"CLI\",\"item\":\"https://docs.crossmint.com/cli/install\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Commands\",\"item\":\"https://docs.crossmint.com/cli/login\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Crossmint projects auth-provider\",\"item\":\"https://docs.crossmint.com/cli/projects/auth-provider\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.crossmint.com/cli/projects/auth-provider#article\",\"headline\":\"Crossmint projects auth-provider\",\"name\":\"Crossmint projects auth-provider\",\"description\":\"View and configure the auth provider of a project\",\"url\":\"https://docs.crossmint.com/cli/projects/auth-provider\",\"mainEntityOfPage\":{\"@id\":\"https://docs.crossmint.com/cli/projects/auth-provider#webpage\"},\"dateModified\":\"2026-11-12T14:24:41.641Z\",\"publisher\":{\"@id\":\"https://docs.crossmint.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.crossmint.com#website\"}}]}\u003c/script>","agentPointerHref":"/cli/projects/auth-provider.md","siteName":"Crossmint Docs","nav":{"global":null,"tabs":[{"tab":"Platform Overview","groups":[{"group":"Introduction","pages":[{"title":"Platform Overview","href":"/introduction/platform-overview"},{"title":"Getting Started","href":"/introduction/getting-started"},{"title":"Using AI Assistants","href":"/introduction/ai-assistants"},{"group":"Platform","pages":[{"title":"Supported Chains","mode":"default","href":"/introduction/supported-chains"},{"title":"Staging vs Production Environments","sidebarTitle":"Staging vs Production","href":"/introduction/platform/staging-vs-production"},{"title":"Account Verification","href":"/introduction/platform/account-verification"},{"title":"Organizations","href":"/introduction/platform/organizations"},{"title":"Project and Team Management","sidebarTitle":"Project \u0026 Team Management","href":"/introduction/platform/projects-and-user-management"},{"group":"API Keys","pages":[{"title":"Overview","href":"/introduction/platform/api-keys/overview"},{"title":"Rate Limits","href":"/introduction/platform/api-keys/rate-limits"},{"title":"Scopes","href":"/introduction/platform/api-keys/scopes"},{"title":"Server-side Keys","href":"/introduction/platform/api-keys/server-side"},{"title":"Client-side Keys","href":"/introduction/platform/api-keys/client-side"},{"title":"JWT Authentication","href":"/introduction/platform/api-keys/jwt-authentication"},{"title":"Custom JWT Authentication","href":"/introduction/platform/api-keys/custom-jwt-auth-guide"}]},{"group":"Webhooks","pages":[{"title":"Overview","href":"/introduction/platform/webhooks/overview"},{"title":"Add an Endpoint","href":"/introduction/platform/webhooks/add-endpoint"},{"title":"Verify Webhooks","href":"/introduction/platform/webhooks/verify-webhooks"},{"title":"Best Practices","href":"/introduction/platform/webhooks/best-practices"}]},{"group":"Admin API","pages":[{"group":"Project Usage","pages":[{"openapi":"api-reference/_open-api/AdminAPIs.json GET /v1-alpha1/projects/{projectId}/usage","title":"Get Usage","href":"/api-reference/admin/get-usage"}]}]}]}]},{"group":"Solution Guides","pages":[{"title":"Overview","href":"/solutions/overview"},{"group":"Fintech","pages":[{"title":"Remittances","href":"/solutions/fintech/remittances"},{"title":"Neobanks","href":"/solutions/fintech/neobanks"},{"title":"Stablecoin Payouts","href":"/solutions/fintech/stablecoin-payouts"},{"title":"Global Payroll","href":"/solutions/fintech/global-payroll"}]},{"group":"n8n","pages":[{"title":"Overview","href":"/solutions/n8n/overview"},{"title":"Quickstart ⚡","href":"/solutions/n8n/quickstart"},{"group":"Nodes","pages":[{"title":"Wallets Node","href":"/solutions/n8n/nodes/wallets"},{"title":"Checkout Trigger Node (x402 Paywall)","href":"/solutions/n8n/nodes/checkout-trigger"}]}]}]},{"group":"CLI","pages":[{"title":"Get started with the Crossmint CLI","sidebarTitle":"Getting started","href":"/cli/install"},{"group":"Commands","pages":[{"title":"Crossmint login","sidebarTitle":"crossmint login","href":"/cli/login"},{"title":"Crossmint logout","sidebarTitle":"crossmint logout","href":"/cli/logout"},{"title":"Crossmint whoami","sidebarTitle":"crossmint whoami","href":"/cli/whoami"},{"title":"Crossmint help","sidebarTitle":"crossmint help","href":"/cli/help"},{"title":"Crossmint keys create","sidebarTitle":"crossmint keys create","href":"/cli/keys/create"},{"title":"Crossmint keys list","sidebarTitle":"crossmint keys list","href":"/cli/keys/list"},{"title":"Crossmint keys delete","sidebarTitle":"crossmint keys delete","href":"/cli/keys/delete"},{"title":"Crossmint keys edit","sidebarTitle":"crossmint keys edit","href":"/cli/keys/edit"},{"title":"Crossmint projects create","sidebarTitle":"crossmint projects create","href":"/cli/projects/create"},{"title":"Crossmint projects select","sidebarTitle":"crossmint projects select","href":"/cli/projects/select"},{"title":"Crossmint projects list","sidebarTitle":"crossmint projects list","href":"/cli/projects/list"},{"title":"Crossmint projects details","description":"View details of a project","sidebarTitle":"crossmint projects details","href":"/cli/projects/details"},{"title":"Crossmint projects auth-provider","sidebarTitle":"crossmint projects auth-provider","href":"/cli/projects/auth-provider"}]}]},{"group":"MCP Server","pages":[{"title":"Connect the Crossmint MCP Server","sidebarTitle":"Connect","description":"Let AI assistants manage your Crossmint console projects, organizations, and API keys","href":"/mcp-server/connect"},{"title":"Crossmint MCP Server Tools","sidebarTitle":"Tools","href":"/mcp-server/tools"}]}]},{"tab":"Embedded Finance","menu":[{"item":"Wallets","pages":[{"title":"Wallets","href":"/wallets/overview"}]},{"item":"Onramp","pages":[{"title":"Onramp","href":"/onramp/overview"}]},{"item":"Offramp","pages":[{"title":"Offramp","href":"/offramp/overview"}]},{"item":"Checkout","pages":[{"title":"Checkout","href":"/payments/introduction"}]}],"pages":[{"title":"Embedded Finance","href":"/wallets/overview"}]},{"tab":"Money Movement","pages":[{"title":"Money Movement","href":"/stablecoin-orchestration/overview"}]},{"tab":"Agentic Payments","pages":[{"title":"Agentic Payments","href":"/agents/overview"}]},{"tab":"Identity","pages":[{"title":"Identity","href":"/identity/overview"}]},{"tab":"Others","menu":[{"item":"Tokenization","pages":[{"title":"Tokenization","href":"/tokenization/introduction"}]}],"pages":[{"title":"Others","href":"/tokenization/introduction"}]}]},"basePath":"","title":"Crossmint projects auth-provider - Crossmint Docs","deploymentId":"dpl_2pTxFtyBudBMYZiCw1MyvoA1wxpd","buildId":"dpl_2pTxFtyBudBMYZiCw1MyvoA1wxpd","dynamics":[],"chunks":[]}