/didit-authentication:didit-auth-sign-in-methodsfrom Didit Authentication
Helps configure Didit Authentication sign-in methods including passkeys, magic links, email/phone codes, social sign-in, organization SSO, MFA, password reset, and sign-up policies.
Ships in Didit Authentication. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Follow the rules of didit-auth-start first: call didit_context_get for the application, and call didit_docs_search for the current sign-in methods page before giving details. Docs mark Authentication as new.
Methods are turned on and off with didit_authentication_method_set (see section 7) or in the Didit console. The hosted sign-in page shows only the methods that are on, and supports every available method below (the Didit ID Wallet is not available yet).
| Method | Name | What it needs |
|---|---|---|
| Password | password | Also needed for email sign-up with a password. Only people with a verified email can sign in with it. |
| Email code | code | Nothing. A 6-digit code that lasts 10 minutes, 5 attempts. |
| Magic link | magic | Nothing. Hosted pages only. Lasts 15 minutes, works once, in the browser that asked for it. |
| Phone code | phone | The workflow_id of a workflow that contains phone verification. SMS by default, or WhatsApp. |
| Passkey | passkey | Nothing. WebAuthn on the application's sign-in origin, user verification always required. |
| Social | google, microsoft, apple, github | The developer's own OAuth client_id and client_secret. Sandbox applications can use Didit's test apps. |
| Organization SSO | sso | A SAML or OIDC connection per customer organization. |
| Didit ID Wallet | wallet | Not available yet. |
Help the developer pick from what is documented:
prompt=login or max_age).organization=<slug> on the sign-in URL.signup_policy is anyone (default), invited (only with an invitation link, which lasts 7 days) or allowed_domains. A login code for an address with no account creates one when the policy allows it. With allow_subaddresses off (default), an email with + is rejected.
mfa_policy is optional, everyone or organization_admins (default). Anyone who enrolled an authenticator must always use it.revoke_on_password_change is on (default), and invalidates other pending codes and links.password_min_length is 8, 10 (default), 12 or 14. Common and all-numeric passwords are rejected.With sign_in_ui: "own", the app calls JSON endpoints instead of the hosted page. Each flow starts with a transaction that lasts 10 minutes and ends with a code to exchange within 60 seconds (see didit-auth-integrate). A step can return mfa_required, mfa_enrollment_required, protection_required or verification_required instead of a code. Read the exact endpoints with didit_docs_search before writing them. Recommend the hosted page unless the developer needs their own screens.
didit_authentication_get for the application, and check from didit_context_get whether it is sandbox or live (its mode, never its name). If enabled is false, Authentication is off for the application: no change can be made until a person turns it on in the Didit console.didit_authentication_method_set (rule 6 of didit-auth-start).credential_source: "didit_test", Didit's own test provider apps, so they work without the developer's own provider app. A live application refuses it (sandbox_only): there the method needs the developer's own provider client id and client secret, with credential_source: "own". Only the person can supply those; never invent them, and never repeat the secret back (the tools never return it).workflow_id). The Didit ID Wallet method is always on.didit_authentication_get again and report what it shows.Read first, describe the exact change and the application (sandbox or live), and wait for a clear yes before each write (rule 6 of didit-auth-start). Read the result back and report what it shows.
didit_authentication_configuration_update changes only the fields sent; a list replaces the saved one, so send every entry to keep. Fields: redirect_uris (https, or http on localhost in sandbox), allowed_origins, post_logout_redirect_uri, session_lifetime, idle_timeout, multiple_sessions, password_min_length, revoke_on_password_change, allow_subaddresses, signup_policy (anyone, invited or allowed_domains) and allowed_email_domains.didit_authentication_section_get with section reads one of branding (sign-in texts and legal links), emails (add email to preview one), protection (bots, credential stuffing, brute force, disposable emails, VPN, impossible travel), verified, domain (with the DNS record) or native_apps.didit_authentication_section_update with section and settings changes branding, protection, verified or native_apps; native_apps is replaced whole. In verified, signup_level (none, liveness or full_id) asks for an identity check at sign-up, and rules ask for a step-up check (liveness, selfie or full_id) before a payout, a bank or contact change, a new device or a sign-in. That is how a returning user signs in with a selfie. These checks run verification workflows and can use Didit credits in a live application: say so before the change.didit_authentication_domain_update with action: set (with domain) answers the DNS record to add, verify checks the DNS, activate switches sign-in to the domain once verified, and delete removes it. set, activate and delete need confirm: true, sent only after the person agreed to that exact action. Passkeys belong to their origin: after a domain change people enroll their passkeys again, so say that before activate.didit_authentication_get.didit_authentication_domain_update without the person's agreement to that exact action.What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/didit-auth-eventsExplains how Didit sign-in activity shows up and how to react to it. Use when the user asks "which auth webhooks exist", "what does the sign-in webhook send", "subscribe to sign-in events", "sign-in risk", "failed logins", "use sign-in events in fraud rules", or how sign-in links to verification and transaction monitoring with Didit./didit-auth-integrateGuides wiring Didit sign-in into their app or backend. Use when the user says "add Didit sign-in to my app", "PKCE", "exchange the authorization code", "validate the access token", "JWKS", "check the session", "refresh tokens", "tokens", "sign the user out", "logout", or "redirect URL" with Didit./didit-auth-startExplains Didit Authentication (end-user sign-in for their own app) and routes the request. Use when the user asks "what is Didit sign-in", "is Authentication on for my app", "how does sign-in relate to KYC or transaction monitoring", or "what can this plugin do" with Didit. Sets the rules every Didit Authentication skill follows.npx claudepluginhub didit-protocol/skills --plugin didit-authenticationOther plugins' skills for the same job