Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev 1 #7

Merged
merged 7 commits into from
Mar 31, 2024
Merged

Dev 1 #7

merged 7 commits into from
Mar 31, 2024

Commits on Mar 24, 2024

  1. Implemented frontend for sign-in functionality: Added user interface …

    …elements for seamless admin authentication.
    arkajyotiadhikary committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    094d70e View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2024

  1. Generate user session IDs, refresh tokens, and access tokens

    This commit implements functionality to generate and manage user session IDs, refresh tokens, and access tokens. It includes the following changes:
    
    - Implement logic to generate unique session IDs for each user upon login.
    - Generate refresh tokens to allow users to obtain new access tokens without requiring reauthentication.
    - Generate short-lived access tokens with limited scope for user authentication and authorization.
    
    These changes enhance security and improve user experience by providing a mechanism for managing user sessions and ensuring secure access to protected resources.
    arkajyotiadhikary committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    e9c3fc2 View commit details
    Browse the repository at this point in the history
  2. Fix environment file error and add colored console logs

    This commit addresses the following issues:
    - Fixed an error in the environment file that was causing configuration inconsistencies.
    - Added color formatting to console logs for improved readability and debugging.
    
    Changes:
    - Updated the environment configuration to resolve the error related to missing or incorrect variables.
    - Implemented color-coded console log messages to differentiate between different types of logs and improve debugging efficiency.
    
    These changes ensure a more robust and user-friendly development environment, enhancing the reliability and readability of the codebase.
    arkajyotiadhikary committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    26da765 View commit details
    Browse the repository at this point in the history
  3. Store user tokens and update user model

    This commit introduces functionality to store access tokens, refresh tokens, and session IDs for users, enhancing authentication and session management capabilities. It also includes modifications to the user model to accommodate these changes.
    
    Changes:
    - Implement logic to store access tokens, refresh tokens, and session IDs for users upon login.
    - Update the user model to include fields for storing these tokens and identifiers.
    - Enhance authentication endpoints to return access tokens, refresh tokens, and session IDs during login.
    - Adjust database schema or data storage mechanism to accommodate the new fields in the user model.
    
    These changes improve the security and functionality of the authentication system, enabling better management of user sessions and access control within the application.
    arkajyotiadhikary committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    ea21e82 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2024

  1. feat: Add admin client upload form and songs list

    This commit introduces an admin client upload form allowing users with administrative privileges to upload music data. Additionally, a list of songs has been implemented to display the uploaded songs. This enhances the functionality of the application and provides administrators with the ability to manage music content.
    arkajyotiadhikary committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    3d1b022 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2024

  1. fix: Resolve issue with setting up auth token in headers

    Describe the problem and steps taken to resolve it:
    - Investigated why the auth token wasn't being set in response headers
    - Checked backend configuration and response headers
    - Confirmed CORS settings allow the Authorization header
    - Considered using a custom header as a workaround
    
    This commit addresses the issue and ensures the auth token is correctly set in the response headers.
    arkajyotiadhikary committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    aaae402 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2024

  1. Configuration menu
    Copy the full SHA
    0ca9ae4 View commit details
    Browse the repository at this point in the history