Install
openclaw skills install @dwhite-oss/workosManage enterprise SSO, Directory Sync (SCIM), Admin Portal, and user management via WorkOS API. Use when asked to set up SSO for an organization, provision users via SCIM, list directory users or groups, generate an Admin Portal link, or check SSO connection status. Requires WORKOS_API_KEY env var.
openclaw skills install @dwhite-oss/workosWorkOS REST API base: https://api.workos.com
curl -H "Authorization: Bearer $WORKOS_API_KEY" https://api.workos.com/...
curl "https://api.workos.com/organizations?limit=10" \
-H "Authorization: Bearer $WORKOS_API_KEY"
curl -X POST "https://api.workos.com/organizations" \
-H "Authorization: Bearer $WORKOS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "Acme Corp", "domains": [{"domain": "acme.com"}]}'
curl "https://api.workos.com/connections?organization_id=<org_id>" \
-H "Authorization: Bearer $WORKOS_API_KEY"
curl -X POST "https://api.workos.com/sso/authorize" \
-H "Authorization: Bearer $WORKOS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"client_id": "<WORKOS_CLIENT_ID>",
"redirect_uri": "https://yourapp.com/auth/callback",
"connection": "<connection_id>",
"state": "<random_state>"
}'
curl -X POST "https://api.workos.com/sso/token" \
-H "Authorization: Bearer $WORKOS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"code": "<auth_code>", "client_id": "<WORKOS_CLIENT_ID>"}'
curl "https://api.workos.com/directories?organization_id=<org_id>" \
-H "Authorization: Bearer $WORKOS_API_KEY"
curl "https://api.workos.com/directory_users?directory=<dir_id>&limit=25" \
-H "Authorization: Bearer $WORKOS_API_KEY"
curl "https://api.workos.com/directory_groups?directory=<dir_id>" \
-H "Authorization: Bearer $WORKOS_API_KEY"
curl "https://api.workos.com/directory_users/<user_id>" \
-H "Authorization: Bearer $WORKOS_API_KEY"
curl -X POST "https://api.workos.com/portal/generate_link" \
-H "Authorization: Bearer $WORKOS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"intent": "sso", "organization": "<org_id>", "return_url": "https://yourapp.com/settings"}'
# Returns: { link: "https://..." } — share with customer's IT admin
intent options: sso, dsync, log_streams, audit_logs
curl "https://api.workos.com/user_management/users?limit=25" \
-H "Authorization: Bearer $WORKOS_API_KEY"
curl "https://api.workos.com/user_management/users/<user_id>" \
-H "Authorization: Bearer $WORKOS_API_KEY"
curl -X DELETE "https://api.workos.com/user_management/users/<user_id>" \
-H "Authorization: Bearer $WORKOS_API_KEY"
OktaSAML, AzureSAML, GoogleSAML, OneLoginSAML, GenericSAML, ADFSSAML, PingFederateSAML, OktaOIDC, MicrosoftOIDC, GoogleOIDC