Configure single sign-on for your QwenWork organization.
1. What you can do
Single sign-on (SSO) allows organization members to sign in to Qwen Work with their corporate identity provider accounts. The page currently supports:
- Authing;
- Azure AD;
- DingTalk;
- Feishu;
- SAML2; and
- WeCom.
2. Before you begin
Confirm that:
- the current account is an organization super admin;
- Single sign-on appears in the navigation;
- the organization has at least the minimum number of seats shown on the page;
- an enterprise application has been created in the identity provider and the required credentials are available;
- the corporate email domain is ready, for example
example.comwithout the@; and - a standard member test account is available, so a super admin account is not the only test account.
Register the callback URL with the identity provider
Enter the following address as the callback URL, redirect URI, or Redirect URI in the identity provider application:
3. Prepare identity provider information
The information required depends on the provider. Common fields on the page include:
| Provider | Information to prepare |
|---|---|
| Authing | Client ID, protocol, and authorization URL; OAuth2 also requires a Client Secret, Token URL, and UserInfo URL; OIDC requires a JWKS URL or signing public key |
| Azure AD | Azure Tenant, Application (client) ID, Client Secret, Scopes, and email domain |
| DingTalk | AppKey, AppSecret, optional Corp ID, Scopes, and email domain |
| Feishu | App ID, App Secret, and email domain; Scopes are optional |
| SAML2 | SP Entity ID, IdP SSO URL, IdP/SP certificates, SP private key, unique ID field, and email domain |
| WeCom | Enterprise Corp ID, application credentials, Agent Secret, Scopes, and email domain |
4. Create an SSO connection
- Open Single sign-on.
- Confirm that the page does not report insufficient seats or another failed prerequisite.
- Select Configure SSO.
- Choose the provider type.
- Enter a connection name that admins can recognize.
- Enter the identity credentials and provider-specific information.
- Enter the allowed email domains, separated by commas.
- Configure field mappings, Scopes, JWKS, public keys, or certificates when needed.
- Select Create.
5. Key fields
Connection name
This helps admins identify the connection. For example, use Corporate Azure AD Production. Include the environment or organization scope instead of using only SSO.
Client ID and Client Secret
Obtain these values from the identity provider application console. When editing an existing connection, leave the Secret field empty to keep the current secret.
Do not paste a Secret into notes, support-ticket screenshots, or chat messages.
Scopes
Scopes determine what information Qwen Work can read from the identity provider. Keep the page defaults unless the enterprise identity administrator confirms a change.
Email domain allowlist
This limits which corporate email domains can use the SSO connection. For example:
@. Separate multiple domains with commas. Public email domains are generally not suitable for enterprise SSO.
Unique ID field
Use a stable user identifier returned by the identity provider. OIDC commonly uses sub, while SAML commonly uses name_id. Do not use a display name that may change.
Login name field
This field is optional. When set, the system combines it with the configured corporate domain for internal identification.
JWKS URL or signing public key
Authing OIDC uses this value to verify identity-token signatures. Prefer the provider's public, stable JWKS URL. Use a PEM-formatted public key only when JWKS is unavailable.
SAML certificates and private key
Paste the complete certificate and private key, including the BEGIN and END lines. Confirm that:
- the IdP X.509 signing certificate comes from the identity provider;
- the SP X.509 certificate matches the SP private key;
- the private key is stored only in controlled locations; and
- certificate rotation is scheduled before expiration.
6. Submit for review
- Return to the connection details after creating it.
- Check the provider, protocol, domains, and credentials again.
- Select Submit for review in the upper-right corner.
- Wait for the result.
| Status | Meaning | Next step |
|---|---|---|
| Draft | The configuration is saved but has not been submitted | Check it and submit for review |
| Under review | The configuration is being reviewed | Wait for the result |
| Approved | The configuration can enter the production sign-in flow | Test it with a standard member account |
| Rejected | The configuration did not pass review | Read the reason, edit it, and submit again |
7. Enable SSO
Enable SSO in the connection details controls whether members can use the connection to sign in.
- On and approved: The connection is available for organization sign-in.
- Off: Members cannot start new SSO sign-ins through the connection.
- Finish the configuration and obtain approval.
- Enable SSO.
- Test with one or two standard member accounts.
- After successful testing, share the sign-in method with all members.
8. Set automatic seat assignment
When Automatically assign seats when joining through SSO is on, a new member joining through SSO attempts to receive a seat.
- Seats are available: The member receives a seat automatically.
- No seats are available: The member can still sign in but may remain without an assigned seat.
9. View connection details
Connection details contain the following tabs:
- Connection information: Protocol, Client ID, and masked Secret.
- Access control: Scopes and the email domain allowlist.
- Endpoints: Authorization, Token, and UserInfo URLs.
- Workbench: Enterprise workbench sign-in URL for DingTalk, Feishu, or WeCom connections.
- Notes: Internal organization notes.
10. Configure an enterprise workbench entry
After creating a DingTalk, Feishu, or WeCom connection, the Workbench tab appears in the connection details:
- Open Workbench.
- Copy the Sign-in URL.
- Set this address as the home page or workbench address of the enterprise application in the identity provider.
- Open it from the workbench with a standard member account and verify sign-in.
11. Edit a connection and rotate secrets
Edit a connection
- Select Edit.
- Change the editable fields.
- If you are not replacing a Secret or private key, leave its input field empty.
- Save the connection and submit it for review again.
Rotate a Secret
- Create a new Secret in the identity provider. Do not delete the old Secret yet.
- Edit the connection in Qwen Work and enter the new Secret.
- Save and submit the new configuration for review.
- After the new configuration is approved and successfully tested, revoke the old Secret in the identity provider.
12. Delete a connection
- Select the delete button in the upper-right corner of the connection.
- Read the impact notice.
- Confirm deletion.
- prepare an alternative sign-in method;
- notify organization members;
- remove the old entry from the identity provider workbench; and
- retain any required non-sensitive configuration records.
13. Troubleshooting
Single sign-on is missing from the navigation
Confirm that the current account is an organization super admin and that the correct enterprise workspace is open. Some organizations that already use a bound organization identity method do not show this menu.
Configure SSO or Submit for review is unavailable
Check whether the organization has the minimum number of seats required on the page. If a prerequisite check failed, select Retry.
The page reports that no email domain is configured
Confirm that an email domain has been entered, the configuration is approved, and Enable SSO is on.
The identity provider reports a callback URL mismatch
Check that the HTTPS protocol, domain, port, path, and trailing slash exactly match the value registered in the identity provider console.
The Client is invalid or the credentials are incorrect
Confirm that the Client ID, Secret, Tenant, AppKey, Corp ID, and related values come from the same production application, and that the Secret has not expired.
Sign-in succeeds but the member has no seat
Check whether automatic seat assignment is on and whether the organization still has available seats. You can also assign a seat manually under Members.
The old configuration is still used after editing
The new configuration must be reviewed again. The previously approved version remains active until the new version is approved.
Previous: Organization settings · Back to overview