Yashasv-Prajapati / Docify

5 stars 2 forks source link

CS3-92 logged in user credentials and user functions and also updated github callback for authentication #93

Closed Yashasv-Prajapati closed 3 months ago

Yashasv-Prajapati commented 3 months ago

User functions created for current user and getUserById, getUserId and getAllUsers.

Also updated, github callback route for handling authentication of github apps.

linear[bot] commented 3 months ago
CS3-92 Logged in user credentials

Store logged in user's credentials 1. Give a function called `getCurrentUser()` that returns inforrmation about the currently logged in user. 1. username 2. github-id 3. email 2. Other user information functions like getUserById, getAllUsers, getUserId