Registration Hosted Page
Overview
The cidaas registration hosted page enables new users to create accounts and configure their login methods. Before implementing your registration page, consider these key design questions to ensure a smooth onboarding experience.
Configuration
Configure the registration page in this order so you don't have to jump between sections:
cidaas:register scope to your app.Apply Registration Scope
To configure the registration page for your app, add the cidaas:register scope to the application.
cidaas:register scope to the application.Developer Perspective
You can also manage scopes via API.
| API | Description | Link |
|---|---|---|
| Register scope | Create or update a scope and add it to resource protection where necessary. | View API |
Registration Fields & User Setup
Registration fields, identifiers, and communication-medium verification are all part of a reusable User Setup configuration, which you assign to your application. For the complete reference (with screenshots), see the User Setup guide and the Field Setup guide.
Prerequisite
Before showing the registration page, verify the user doesn't already exist in cidaas using the check user exists API. If the user already exists, redirect them to the login page.
1. Define fields (Field Setup)
Field definitions come first. In Trustdesk, go to User Setup → Field Setup and click + Create field to add a field (field key, type, scopes, permissions, and locale settings). For the full walkthrough with screenshots, see the Field Setup guide.
2. Configure the User Setup
A User Setup selects which of those fields appear during registration and how the account is verified, then it is assigned to your application.
For all User Setup options and behaviors, see the User Setup guide.
Developer Perspective
| API | Description | Link |
|---|---|---|
| Get registration fields | Get all registration fields configured for your app. | View API |
| Get app details | Get the allowed and required fields configured for your app. | View API |
| Get all registration fields | Return all registration fields available for your instance. | View API |
| Save app details | Save your changes. | View API |
Password Policy
Password policies enforce rules for strong password creation. In Trustdesk, create policies under Settings → Password policy, then assign one to your application through its Verification Options profile (password_policy_ref) — the profile is linked to the app via verification_options_id. For details, see the Password Policy guide and Verification Options.
Developer Perspective
| API | Description | Link |
|---|---|---|
| Get list of password policy | Get the password policies you can use. | View API |
| Configure password policy | Configure the desired password policy. | View API |
| Upsert password policy | Update or insert the desired password policy. | View API |
Groups and Roles Restriction
Group and role restrictions control who can register for your application. In Trustdesk, create a filter under Permission Setup → User Group Verification Filter, then open your application under Integrations → Applications → Authentication Setup and select it under Group Verification Filter. For details, see Group Role Restrictions.
Developer Perspective
| API | Description | Link to API |
|---|---|---|
| Check user group restrictions | Validate user group restrictions. | View API |
| Get all group verification requests | Read all Group Verification Requests. | View API |
| Create new group verification request | Create a Group Verification Request (user access filter). | View API |
| Get group verification request by id | Get a Group Verification Request by ID. | View API |
| Update group verification request by id | Update a Group Verification Request by ID. | View API |
| Delete group verification request by id | Delete a Group Verification Request by ID. | View API |
| Verify user group restrictions | Verify user group access by request ID and user sub. | View API |
Explore Related Topics
Related Pages
Please contact us directly on our support page or reach out to cidaas support at [email protected].