For vendors using Usakey
Set up email verification
Prepare license users and a per-user policy so that people can verify themselves with a code sent to their email address.
How it works
With a per-user license, a user enters their email address in your app and receives a 6-digit verification code at that address. Entering the code proves who they are, and the device is activated right away. You can grant and stop access per person without company accounts (OIDC) or the customer portal.
- A verification code works for 10 minutes, can be tried up to 5 times, and can only be used once.
- If the user has set up two-factor authentication, they also enter a code from their authenticator app, or an approval code shown after approving with their passkey.
- Verification codes go only to users whose email addresses you registered in the directory and who have a license assigned. Usakey sends no email to unregistered addresses. It returns the same response to the product app either way, so the app cannot tell whether an address is registered.
Prepare a per-user license
-
Step 1Create a per-user policy and license
As with the customer portal, create a per-user policy and issue a license from it to assign from (see Set up the customer portal). The policy page shows the verification methods and whether your current plan includes them.

Add users to your list and assign the license
-
Step 1Add a license user with an email address
In Add license user, enter the name and email address. Leave the OIDC connection blank to register the user with a local ID in the directory. Usakey sends verification codes to the address you enter. You cannot register two users with local IDs and the same email address in one workspace.
When the customer is the person who uses your software, add the customer as an Individual: Usakey creates the user with the same name and email address, and assigns the per-user licenses issued to that customer automatically, so you can skip the next step.

-
Step 2Assign the license
On the per-user license's assignment page, assign it to the user you added (the same steps as in Set up the customer portal).
Check that it's ready
-
Step 1Check the license user's details
The license user's details page shows whether email verification can be used, and if not, why and how to fix it (no email address, another user with the same address, suspended, not included in your plan, and so on).
To require two-factor authentication from a user, set it up on this page. We recommend a passkey, which works as follows. No change to the product app or the SDK is needed.
- Ask to set up a passkey emails the user a setup link (valid for 24 hours, one use).
- The user opens the link and registers a passkey.
- From then on, the verification code email links to a page where the user approves with the passkey.
- The user approves on that page and enters the approval code shown in the product app's “authenticator app code or recovery code” field.
Using passkeys for a user's two-factor authentication When you request passkey setup in the console, the user gets a setup link by email. The link is valid for 24 hours and works once. After the user registers a passkey, each verification code email links to an approval page. The user approves there with the passkey and enters the approval code shown (valid for 10 minutes, one use) in your app's "authenticator app code or recovery code" field. Your app and the SDK don't need changes. You (console) Usakey User Your app Passkey setup (once) 1 2 Register a passkey and save the recovery codes 3 Each verification 4 Approve with the passkey and get an approval code (10 min, one use) 5 6 Using passkeys for a user's two-factor authentication When you request passkey setup in the console, the user gets a setup link by email. The link is valid for 24 hours and works once. After the user registers a passkey, each verification code email links to an approval page. The user approves there with the passkey and enters the approval code shown (valid for 10 minutes, one use) in your app's "authenticator app code or recovery code" field. Your app and the SDK don't need changes. Passkey setup (once) 1 You (console) Usakey 2 Usakey User 3 User Each verification 4 Usakey User 5 User 6 User Your app 
For an authenticator app, set it up on this page and give the user the displayed information securely. Users with an authenticator app enter its code in addition to the verification code.

Your app and your users
The product app needs a screen for entering an email address and a verification code. For users who need two-factor authentication, include a field for an authenticator app code or recovery code. Passkey users enter their approval code in that field. The product app asks Usakey to send a verification code. Usakey checks the code the user enters, and the app receives the token for device activation. See the API reference for the specification. To ask an AI assistant to implement this, follow the same steps as in Add license checks to your app.
You can send your users this page's URL as is: https://usakey.jp/docs/manual/end-user/email-verification?locale=en
Ask AI to implement or configure
Copy the instruction for your task and paste it into an AI assistant connected to MCP. You can also select the same task from the MCP prompt list. See the product integration page for connection steps. Add license checks to your app
Email and two-factor verification
Use the Usakey MCP server and distributed skills for this task. First read the relevant skill VERSION, SKILL.md and references below. If the local MCP cannot serve resources, read the same files from the distribution ZIP advertised by the connected server. Confirm product, environment, language and existing settings; never invent missing values. Use the official SDK in product apps and never embed a Management API key. Keep management operations within the approved access and plan. Keep secrets out of chat, screens and logs. Write expected behavior as tests before implementation and report actual verification and unverified surfaces.
Implement named-user email entry, email-code and second-factor screens. Offer only available_methods. Display expiry, remaining attempts and resend delays from responses; accept letters and hyphens in the second-factor field. Pass the identity token into activation without persisting codes or tokens. Test unknown addresses, wrong and expired codes, lockout and 429.
References
skill://usakey-auth-integration/references/license-key-delivery.md
skill://usakey-auth-integration/references/product-app-screens.md
skill://usakey-auth-integration/references/outcome-matrix.md
Management tools for configuration and checks
create_license_user
assign_license
Screenshots were taken in a test environment with sample data. IDs such as product IDs, license keys, and activation tokens are masked. Some details may change as we improve the screens.