For vendors using Usakey
Set up the customer portal
Set up user management for a customer, an OIDC connection, license users, and assignments so users can sign in with their company account.
Overview
With the customer portal, the people who use your software sign in with their company account (OIDC) and activate devices with the license assigned to them. You can grant and stop access per person without handing out license keys one by one. You can add 1 OIDC connection on the Team plan and 3 on the Enterprise plan (more with add-ons). If the company account uses a SAML identity provider, use a SAML connection instead of an OIDC connection (it counts toward the same limit). To register and suspend users automatically from the identity provider, sync them with SCIM.
For how to choose a setup (separating customer companies, adding users automatically at first sign-in, assigning by group, and so on), see the License-user management guide.
Prepare a customer with user management
Add the company your users belong to as a customer, the same kind of record you issue licenses to. When you start user management for that customer, you manage its license users, groups, and OIDC connections separately from other customers. Each customer with user management counts toward your plan's limit of customers with user management.
-
Step 1For a new customer, start user management when you add it
Open Customers in the left menu, select Add customer, and enter the company name and contact address. Select Manage this customer's users to show the User limit field, and enter a number if you need one (leave it empty for no limit). Select Add customer to add the customer and start user management.

-
Step 2For a customer you already added, start user management in its details
If you already issue licenses to the customer, open Customers in the left menu, open the customer's details, and select Start user management under User management. The customer's license users, groups, and OIDC connections then appear there, each with its own add button (such as Add user).
To assign licenses to a department or team at once, select Add group to create a group. After you add license users, add them as members in the group's details.

Register Usakey in the IdP
Ask the customer's IdP administrator to register an app (client) for Usakey and set its redirect URI to the exact value below. After the administrator registers it, get the Issuer, Client ID, and Client Secret from them.
Redirect URI
https://usakey.jp/portal/oidc/callbackFor the registration steps in each IdP, see Set up an OIDC connection in the License-user management guide.
Add an OIDC connection
-
Step 1Enter the IdP's details
Under User management in the customer's details, select Add OIDC connection. The page opens with that customer chosen as Customer. Enter a connection name and the Issuer, then select Load from Discovery to fill in the endpoints. Enter the Client ID and Client Secret and select Add connection.
For common IdPs (Microsoft Entra ID, Google Workspace, Okta, and so on), choose it under IdP at the top to skip most of the typing. The Client Secret is stored encrypted and isn't shown again after you save it.
For a shared connection that isn't tied to one customer, open Customers in the left menu, add it from All OIDC connections on the customer list, and leave Customer as No specific customer (shared). You can open a connection later from the customer's details (a shared connection from that list).

-
Step 2Find the connection ID for your users
After you add it, the connection's details page opens. The Connection ID for users is the value your users use in the customer portal. Copy sign-in URL gives you a sign-in URL that includes the connection ID, so your users don't have to type it.
Select Test in the customer portal to check that signing in through the IdP actually works.

Connect with SAML
If the customer's identity provider speaks SAML 2.0 (Microsoft Entra ID enterprise applications, Okta, ADFS, and others), users can sign in to the customer portal with a SAML connection instead of an OIDC connection. SAML connections are created per customer and count toward the same limit as OIDC connections (1 on Team and 3 on Enterprise; add-ons add more). The connection ID users enter in the customer portal starts with "sml_".
- In the customer's User management, select Add SAML connection, enter only a connection name, and select Add SAML connection.
- Give the customer's identity provider administrator the Identifier (entity ID, audience URI) and Reply URL (ACS URL) shown under Usakey values for the identity provider on the connection page, and ask them to enter both in the Usakey app (SAML). Both values are different for each connection.
- Get the metadata URL shown by the identity provider ("App Federation Metadata Url" in Microsoft Entra ID, "Metadata URL" in Okta), then select Import from URL in the connection's Edit page. If the URL can't be used, paste the downloaded metadata XML and select Import from XML. The identity provider's entity ID, SSO URL, and signing certificate are filled in; check them and select Save changes.
- Select Test in the customer portal on the connection page to check that sign-in actually works.
Ask the identity provider to send a value that never changes for the user as the NameID. The NameID becomes the user's subject and the identity provider's entity ID becomes the issuer. Email address and display name attributes, when sent, are used for contact and display.
For safety, these responses are refused: assertions without a signature, SHA-1 signatures, signatures made with a key other than the registered certificate, expired certificates, responses meant for another connection or address, expired responses, responses that don't answer a request sent by Usakey (sign-in started at the identity provider), and the same response sent again. Encrypted assertions are not supported, so turn encryption off at the identity provider.
Trusting the identity provider's multi-factor authentication works as it does for OIDC connections. SAML has no standard value for multi-factor authentication, so enter the values your identity provider sends in Values that count as multi-factor authentication (for Microsoft Entra ID, http://schemas.microsoft.com/claims/multipleauthn). If none are entered, the identity provider's multi-factor authentication is not counted. Replace the identity provider's certificate before it expires; while rotating, you can register both the old and the new one.
Prepare a per-user license
-
Step 1Create a per-user policy
-
Step 2Issue a license from that policy to the customer
Issue a license from the new policy to the customer with user management, the same way as in Getting started. This license is the pool you assign from. Put its license key in your app's settings or give it to your users: your app activates a device by combining this key with the activation token the user creates in the customer portal.
Add license users
-
Step 1Add the people who use the software
Under User management in the customer's details, select Add user. The Add license user page opens with that customer chosen as Customer (you can also select Add user in All license users on the customer list and choose the customer). Enter the name and email address, choose the OIDC connection, enter the Subject (the permanent ID the IdP issues for each user), and select Add license user. Get the Subject from the customer's IdP administrator.
If you turn on automatic registration at first sign-in for the OIDC connection, users are added automatically the first time they sign in. In that case, assign the license after they're added.

Sync users with SCIM
With the provisioning of the customer's identity provider (Microsoft Entra ID, Okta, and others), people added, suspended, or deleted in the identity provider are reflected in the customer's license users automatically. Groups in the identity provider can be synced as the customer's groups too.
- In the customer's User management, select Set up SCIM.
- Choose how synced users sign in. If you choose a SAML connection, synced users sign in with it (set the identity provider so that the SAML NameID equals the SCIM userName). Without a sign-in connection, synced users confirm who they are by verifying their email address in your app. You can't change this later.
- Select Set up and create token; the token is shown once. Ask the customer to enter the Tenant URL (SCIM base URL) and the token in the identity provider's provisioning settings ("Tenant URL" and "Secret Token" in Microsoft Entra ID, "SCIM connector base URL" and "API Token" in Okta).
Disabling a user in the identity provider suspends them. Deleting them ends their use and removes their license assignments and group memberships. Additions beyond the customer's or reseller's user limit are returned to the identity provider as errors. SCIM only reaches the customer's users synced by SCIM and the groups it created; it never touches other customers' users or groups created in the console.
Only a hash of the token is stored, so if you lose it, create a new one with Rotate token. The previous token stops working after 24 hours. If a token may have leaked, stop it at once with Revoke. Syncs appear in the audit log as "synced by SCIM". The SCIM endpoints are described in the SCIM OpenAPI document.
Assign the license
-
Step 1Choose the user on the license's assignment page
Delete personal data
When a person asks you to delete their data, an owner or admin can delete the personal data of a license user or a customer. Both ask for your password again first (or a verification code if you use two-step verification), and neither can be undone from the console.
- License user: at the bottom of the license user's page, select Delete personal data. This deletes the name, email address, IdP user ID, metadata, two-step verification and passkey settings, and customer portal sign-ins, removes active assignments and group memberships, and deprovisions the user. The license and assignment records (until when the user held a seat) remain. A deleted license user can't be changed. If the same person signs in again, they are registered as a new license user.
- Customer: at the bottom of the customer's page, select Delete contact details and personal data. This replaces the name with a placeholder and deletes the email address, external ID, notes, and metadata. You can delete the personal data of the customer's license users at the same time. The customer's licenses remain.
The audit log records only who deleted the data, when, and for what reason. To delete the whole workspace, see Data export and workspace deletion.
Tell your users what to do
Send your users these three things. The guide for users doesn't mention your company name or connection ID, so you can send its URL as is.
- The sign-in URL (from Copy sign-in URL on the OIDC connection's details page)
- The guide for users: https://usakey.jp/docs/manual/end-user/customer-portal?locale=en
- The license key, if your app asks for it
Sample message
How to start using Drawing Viewer
1. Open the URL below and sign in with your company account.
(your sign-in URL here)
2. Set up two-factor authentication, then select "Issue a five-minute activation token".
3. Paste the activation token into Drawing Viewer's activation screen.
Step-by-step guide with screenshots: https://usakey.jp/docs/manual/end-user/customer-portal?locale=en
Selling through resellers
Reseller staff sign in to the reseller portal to issue licenses within the scope you give them and to check seat counts. For each reseller, you can limit how many customers and users it can have. You can add up to 5 resellers on the Team plan and 25 on the Enterprise plan (more with add-ons).
-
Step 1Add a reseller
-
Step 2Decide what the reseller can issue
Open Allocations on the reseller's details page, enter the policy, Seat limit, and Maximum days, and select Add. To count seats, add up the number of devices each license can activate. For a named-user license, count users. For a floating license, count concurrent uses. Leave the field blank for no limit. You cannot allocate trial policies.
When you edit the policy, the allocation switches to the new version automatically. When you retire the policy, the reseller can no longer issue from that allocation.
-
Step 3Invite the reseller's staff
On the same page, under Staff, enter an email address and Role, then select Send invitation. The person opens the link in the invitation and accepts it with a Usakey account for the same address. Staff cannot enter your Console and do not use admin seats. You can also set allocations and staff through the Management API and AI assistant connections (MCP).
When someone leaves, select Remove. Suspending a reseller stops all of its staff from using the portal.
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
Customer portal with OIDC or SAML
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.
Configure OIDC or SAML for the customer identity provider and implement an app screen that passes a portal-issued named-user token into activation. Check Team or above, sign-in permissions and live-only writes to shared configuration. Have the user enter connection secrets and IdP trust settings in the Console. Do not persist tokens or ask for them in chat. Verify user registration, license assignment and a real sign-in.
References
skill://usakey-auth-integration/references/customer-portal-sign-in.md
skill://usakey-auth-integration/references/license-key-delivery.md
skill://usakey-auth-integration/references/product-app-screens.md
Management tools for configuration and checks
list_oidc_connections
get_oidc_connection
list_saml_connections
get_saml_connection
create_saml_connection
create_license_user
assign_license
User assignment and SCIM synchronization
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.
Register customer users, assign licenses and configure SCIM if needed. Check customer isolation, Team-or-above requirements, shared-setting permissions and live environment. Have the user issue a token in the Console and enter it in the IdP, never chat. Verify an initial sync and real sign-in; test suspension, deletion and assignment revocation.
References
skill://usakey-auth-integration/references/customer-portal-sign-in.md
Management tools for configuration and checks
list_license_users
create_license_user
assign_license
create_scim_connection
get_scim_connection
revoke_scim_token
Team permissions and privacy procedures
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.
Identify the target and permissions for team invitations, roles, seats, personal-data export or deletion. Read available MCP status tools and guide Console-only actions, such as invitations or workspace erasure, to the appropriate screen. Confirm targets and never report unperformed Console actions as complete.
References
skill://usakey-auth-integration/references/data-exports-and-imports.md
skill://usakey-auth-integration/references/customer-portal-sign-in.md
Management tools for configuration and checks
list_workspace_data_exports
get_workspace_erasure_request
Customers, groups and resellers
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.
Identify whether the task needs individual customers, managed organizations, groups or resellers. Inspect existing records before creation and assignment. Check customer user-management state, seats, license ownership and permissions; never assign another customer's users. Verify returned names and states and distinguish directory records from identity-provider configuration.
References
skill://usakey-auth-integration/references/seller-operations.md
skill://usakey-auth-integration/references/customer-portal-sign-in.md
Management tools for configuration and checks
list_customers
create_customer
list_organizations
create_organization
create_organization_group
create_reseller
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.



