SL
SkillsLao Backoffice
Prototype
๐ŸŽฌ Simulate:

Account Activation

You have been invited to join DTVE e-Learning Platform as a staff member.

Email
somsak.vongphachanh@dtve.edu.la
Invited Role
Instructor

Authentication Method

Choose how you would like to verify your identity and set up your account:

Screen Flow:

โ†’ select Email+Password โ†’ Set Password โ†’ select Google โ†’ SUC-IDP-03 Google OAuth โ†บ Google email mismatch (AF 3A.3A) โ†’ re-select method (inline, same page)
๐Ÿ“ Spec notes โ€” UC-IDP.03 / SCR-IDP.12 (fields, actions, requirements)
Identity
  • Screen: SCR-IDP.12 โ€” Activate Account Landing
  • Use case: UC-IDP.03 โ€” Activate Staff Account
Brief description

The first screen in the staff/instructor account activation flow โ€” shown after the system successfully validates the activation link (UC-IDP.03 step 1). Displays the invitee's context information โ€” email and invited role (from UserInvitation + UserInvitationRole) โ€” to confirm identity before the user selects one of two sign-in methods: Email + Password (navigates to the Set Password screen, SCR-IDP.14) or Google (redirects to Google OAuth for identity verification, then creates an account linked to the Google identity). Displays inline error messages if the Google account's email does not match the invitation email (AF 3A.3A); a generic Google sign-in failure is rendered inline by SUC-IDP-03 itself (no dedicated UC-level flow for that case). Differs from SCR-IDP.07 (Learner Login) and SCR-IDP.29 (Staff Login): displays the full email and invited role from UserInvitation for context, has no contact-input fields (email already known from the invitation token), does not offer SMS/email verification code or PIN options, and has no "Already have an account? Sign in" link.

Fields
  • invitee_email "Email" โ€” text ยท lookup (fallback "") ยท always ยท read-only ยท must display in full, never masked
  • invited_role "Invited Role" โ€” text ยท computed โ€” Role.name joined via UserInvitationRole.role_id โ†’ Role.id, comma-separated if multiple roles ยท always ยท read-only
  • auth_method "Authentication Method" โ€” enum [email_password, google_sso] ยท required ยท default: email_password
Actions
  • continue "Continue" โ€” enabled when required_fields_valid ยท triggers UC-IDP.03-M-3
Additional requirements
  1. Error messages (Google account email does not match the invitation, verification code delivery failure) must be displayed inline below the sign-in method selector โ€” not as a browser alert dialog. [refs: NFR-09]
  2. Keyboard focus order: Welcome region โ†’ sign-in method selector โ†’ action button โ€” Tab/Shift+Tab must navigate correctly in the web browser. [refs: NFR-09]
  3. invitee_email must be displayed in full โ€” the email address must not be masked or have any characters replaced.