Skip to content

Implement User Authentication with Profile Creation and Login Functionality #1

@arjamand

Description

@arjamand

Issue: Implement User Authentication with Profile Creation and Login Functionality

Objective:
Develop a user authentication system that allows users to create profiles, log in, and securely access their personal dashboard within the HikmatApp.

Tasks:

  1. Profile Creation

    • User registration forms are setup already (Snapshot Attached below) where new users can create a profile with required fields (e.g., username, password).
    • Validate inputs to ensure security (e.g., password strength, unique usernames).
    • Hash passwords for secure storage.
  2. Login Mechanism

    • Implement a login form for registered users.
    • Authenticate users by checking credentials against the database.
    • Set up secure session management.
  3. User Dashboard Access

    • Redirect authenticated users to their dashboard in the templates folder fo now after successful login.
    • Implement session handling to maintain login status.
  4. Error Handling

    • Display appropriate error messages for failed login attempts or invalid registrations.
    • Implement basic rate limiting for security against brute force attacks.

Requirements:

  • Use secure hashing algorithms for passwords.
  • Implement form validations (both frontend and backend).

Acceptance Criteria:

  • Users can successfully create a profile with a unique username and secure password.
  • Users can log in with correct credentials and are redirected to their dashboard.
  • Error messages display appropriately for invalid actions.
  • Sessions persist securely throughout the user’s interaction.

login
signup

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions