-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Title: Issue Fetching Hacktoberfest Contributions Data
Description:
There is a problem with retrieving Hacktoberfest contributions data after successful GitHub login.
-
Extracting Username:
After completing GitHub authorization, the username is extracted from theloginparameter in the redirection URL.
Example redirection URL:
http://localhost:3000/dashboard?accessToken=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&login=Ghat0tkach -
API Endpoint for Contributions:
To fetch Hacktoberfest contributions for a user, the following endpoint is used:
[GET] https://gohacktober-backend.onrender.com/api/hacktoberfest-contributions?username={USERNAME}
Problem:
The API call to fetch Hacktoberfest contributions sometimes fails or returns incomplete data for certain usernames, resulting in inconsistent or missing contribution information.
Steps to Reproduce:
- Complete the GitHub OAuth login process and obtain the
loginparameter from the query string. - Make an API request to the contributions endpoint using the extracted username.
- Observe the response from the API for data consistency.
Expected Behavior:
The API should return a complete list of Hacktoberfest contributions for the given username.
Actual Behavior:
The API may fail to return contributions or provide incomplete data for some users.
Additional Context:
Please include any relevant logs, error messages, or examples of users affected by this issue to aid in troubleshooting.