# Registration and email verification ## Create a customer account Open `/en/auth/sign-up` on the public Kamoorj website. Registration creates a Website customer account. For an invitation to the institution’s education system, open the invitation email and use [EduSystems employee registration](/en/docs/admin-registration). The public Website form has no invitation code, role, institution, branch or faculty selector. It does not ask for document uploads or a separate consent checkbox. 1. Enter your first name, surname and a valid email, for example Ani Mirzoyan, `ani@example.org`. The server accepts up to 255 characters in each field. The email must be unique and is normalized for surrounding whitespace and case. 2. Choose a password of at least eight characters and repeat it exactly. Submit the form. Signing in with these credentials requires email verification first. 3. The next screen displays the destination mailbox. Enter **six digits** from the registration email and select Verify. The input drops letters, and the button requires all six digits. Successful verification signs you in and opens the customer `/dashboard`. ## Resume a registration If Ani closed the page after creating the account, she can [sign in](/en/docs/website-sign-in) with the same email. For an unverified account, the site reopens `/auth/sign-up` directly in verification mode. Attempting to create a second account with the same address produces a duplicate-email error. - A registration code is valid for 10 minutes. **Resend** replaces the previous code for this purpose. Use the latest email after resending, check the destination address and look in the spam folder. - Password reset emails, checkout codes and first-password codes serve their own flows. If a registration code is invalid or expired, request a new one on the verification screen. Wait if sending is temporarily rate-limited. - If the account is already verified, sign in with its password. If you forgot it, use [password recovery](/en/docs/website-password-recovery). If the email was first registered while confirming a purchase, sign-in may prompt you to set a first password. ## What the page does Registration uses `POST /api/auth/register`, confirmation uses `POST /api/auth/verify-email` and resend uses `POST /api/auth/verification-code`. A visitor can register and verify without administrative permissions. Once signed in, the customer account determines which organizations and subscriptions are accessible. A demo environment has a [separate application](/en/docs/website-demo-requests). The original design shows the five inputs together. Alternate layouts group them under “About you” and “Account access”. Both open email verification after submission. Enter the code only on the registration page you initiated. ## Implementation references - [website_backend · Api/AuthController.php L37-105](https://gitlab.kamoorj.com/development/website_backend/-/blob/2a3f0b9130ef0275d185270add51343abc2127dc/app/Http/Controllers/Api/AuthController.php#L37-105) - [website_backend · Api/AuthController.php L553-595](https://gitlab.kamoorj.com/development/website_backend/-/blob/2a3f0b9130ef0275d185270add51343abc2127dc/app/Http/Controllers/Api/AuthController.php#L553-595) - [website_backend · Mail/VerificationCodeMail.php](https://gitlab.kamoorj.com/development/website_backend/-/blob/2a3f0b9130ef0275d185270add51343abc2127dc/app/Mail/VerificationCodeMail.php) - [website_backend · routes/api.php](https://gitlab.kamoorj.com/development/website_backend/-/blob/2a3f0b9130ef0275d185270add51343abc2127dc/routes/api.php) - [website · sign-up/page.tsx](https://gitlab.kamoorj.com/development/website/-/blob/24260dbb63eec62158083508db51fb6d7358f258/app/%5Blocale%5D/%28auth%29/auth/sign-up/page.tsx) - [website · sign-up/sign-up-client.tsx](https://gitlab.kamoorj.com/development/website/-/blob/24260dbb63eec62158083508db51fb6d7358f258/app/%5Blocale%5D/%28auth%29/auth/sign-up/sign-up-client.tsx) - [website · lib/validation.ts](https://gitlab.kamoorj.com/development/website/-/blob/24260dbb63eec62158083508db51fb6d7358f258/lib/validation.ts) - [website · components/auth-provider.tsx](https://gitlab.kamoorj.com/development/website/-/blob/24260dbb63eec62158083508db51fb6d7358f258/components/auth-provider.tsx) - [website · design/auth-frame.tsx](https://gitlab.kamoorj.com/development/website/-/blob/24260dbb63eec62158083508db51fb6d7358f258/components/design/auth-frame.tsx)