Login Flow
PhilBlocks provides a secure email-based authentication system that allows users to access their respective dashboards after successful verification.
Supported User Rolesβ
This authentication flow is available for:
- School
- Teacher
- Student
- Parent
Why itβs useful
- Secure login for every role
- Easy email-based verification
- Simple step-by-step access
Core benefits
- Role-based dashboard access
- OTP security
- Fast user onboarding
Authentication Processβ
Step 1: Enter Registered Email Addressβ
Users begin the login process by entering their registered email address on the login screen.
Actionsβ
- Open the Login page.
- Enter the registered email address.
- Click Continue.
Note: Only registered email addresses can proceed to the verification step.

Login screen: select role, enter email, and continue.
Step 2: Verification Code Sentβ
After submitting the email address, PhilBlocks sends a 6-digit verification code (OTP) to the registered email account.
Actionsβ
- Open your email inbox.
- Locate the verification email from PhilBlocks.
- Copy the 6-digit verification code.
If You Don't Receive the Codeβ
- Check the Spam or Junk folder.
- Wait a few moments and refresh your inbox.
- Use the Resend Code option.
Step 3: Enter Verification Codeβ
Enter the 6-digit verification code received via email.
Actionsβ

- Enter all six digits in the verification fields.
- Verify the code carefully.
- Click Verify.
Important Notesβ
- Verification codes expire after a limited time.
- Expired codes require a new code request.
- Incorrect codes will display an error message.
Step 4: Successful Loginβ
Once the verification code is validated successfully, the user is automatically redirected to the appropriate dashboard.
| User Role | Redirect Destination |
|---|---|
| School Admin | School Dashboard |
| Teacher | Teacher Dashboard |
| Student | Student Dashboard |
| Parent | Parent Dashboard |
Authentication Flow Diagramβ
Login Page
β
βΌ
Enter Registered Email
β
βΌ
Receive Verification Code
β
βΌ
Enter 6-Digit Code
β
βΌ
Verify Code
β
βΌ
Access Dashboard
Error Handlingβ
Email Address Not Foundβ
If the entered email address is not registered:
- Verification code will not be sent.
- User will receive an error message.
- Contact the school administrator for assistance.
Invalid Verification Codeβ
If an incorrect verification code is entered:
- An error message is displayed.
- The user can re-enter the correct code.
Example:
Invalid verification code. Please try again.
Verification Code Expiredβ
If the code has expired:
- Verification fails.
- User must request a new verification code.
Example:
Verification code expired. Please request a new code.
Security Featuresβ
PhilBlocks authentication includes:
- Email-based verification
- Time-limited verification codes
- Secure session management
- Role-based dashboard access
- Protection against unauthorized access