Overview
The platform uses JWT (JSON Web Token) based authentication to secure your account and sessions. All authenticated requests include a Bearer token in the Authorization header.Sign Up Process
Create your account
Navigate to the sign-up page and provide the following required information:Required Fields:
- Username: 3-20 characters, letters, numbers, and underscores only
- Email: Valid email address format
- Password: Minimum 6 characters
- Full Name: Your display name (optional but recommended)
Receive your access token
Upon successful registration, you’ll receive:
- A JWT access token for API authentication
- Your user profile information
- Automatic login to the platform
Complete your profile
After signing up, complete your profile by adding:
- Phone number
- Years of experience
- Technical skills
- Resume (required for interview preparation)
Login Flow
Receive access token
On successful authentication:
- JWT token is generated with your user ID
- Token includes expiration time for security
- Your session is established
Password Reset
If you forget your password, you can reset it using the two-step recovery process:Request password reset
Submit your registered email address:For security, the system always returns a success message regardless of whether the email exists (prevents email enumeration attacks).
Check your email
If your email is registered, you’ll receive a password reset link containing a secure token.Important:
- The reset token expires in 15 minutes
- Tokens can only be used once
- Each new request invalidates previous tokens
Session Management
Token Lifecycle
Your JWT token:- Is issued upon login or signup
- Contains your user ID and expiration time
- Is signed with HS256 algorithm for security
- Must be refreshed after expiration
Token Validation
Every protected API endpoint validates your token:- Checks for
Authorization: Bearer <token>header - Verifies token signature using the secret key
- Checks token expiration
- Loads your user data from the database
- Attaches user to request context (
g.current_user)
Security Best Practices
Next Steps
After authentication:Complete Profile
Set up your profile with skills and experience
Upload Resume
Upload your resume for personalized interview prep
Start Interview
Begin your first mock interview session
Track Progress
Monitor your improvement over time