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

API - Get Current User Endpoint #7

Closed
AMAN-BARBARIA opened this issue Aug 1, 2023 · 1 comment
Closed

API - Get Current User Endpoint #7

AMAN-BARBARIA opened this issue Aug 1, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request task Ticket to work on
Milestone

Comments

@AMAN-BARBARIA
Copy link
Member

Goal: Implement an API endpoint to retrieve the current authenticated user's details.

Background: Currently, we do not have a dedicated endpoint for fetching the details of the currently authenticated user. This endpoint is important for allowing the client to fetch user details after login or page refresh, etc.

Tasks:

  • Design and implement a new API endpoint
  • The endpoint should return the currently authenticated user's details.
  • Ensure proper authentication checks are in place - only the logged-in user should be able to access their own details.
  • Implement error handling to cover cases like unauthenticated access, server errors, etc.
  • Write tests for the new endpoint
@AMAN-BARBARIA AMAN-BARBARIA converted this from a draft issue Aug 1, 2023
@AMAN-BARBARIA
Copy link
Member Author

AMAN-BARBARIA commented Aug 1, 2023

This task is required for the completion of user story:

@AMAN-BARBARIA AMAN-BARBARIA added enhancement New feature or request task Ticket to work on labels Aug 1, 2023
@AMAN-BARBARIA AMAN-BARBARIA changed the title Login Flow: API - Get Current User Endpoint API - Get Current User Endpoint Aug 1, 2023
@AMAN-BARBARIA AMAN-BARBARIA added this to the v0.1.0 milestone Aug 1, 2023
@ajinkyac03 ajinkyac03 moved this from Ready to In Progress in SalesSparrow Aug 3, 2023
@ajinkyac03 ajinkyac03 moved this from In Progress to In Review in SalesSparrow Aug 17, 2023
@ajinkyac03 ajinkyac03 moved this from In Review to Done in SalesSparrow Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request task Ticket to work on
Projects
Status: Done
Development

No branches or pull requests

2 participants