Skip to content

Missing GitHub PAT in Live Website Configuration #1

Description

@akshay0611

Hello,

I noticed that the live website of this repository is currently experiencing an issue related to GitHub authentication. When interacting with the site, the browser console shows the following response:

{
  "message": "Bad credentials",
  "documentation_url": "https://docs.github.com/graphql",
  "status": 401
}

After cloning the repository locally and adding a valid GitHub PAT to the .env.local file, the application works as expected. This suggests that the live website may be missing the required GitHub PAT configuration.

Steps to Reproduce:

  1. Visit the live website.
  2. Perform an action that requires GitHub API authentication.
  3. Observe the error in the browser's developer console.

Expected Behavior:

The application should authenticate successfully with GitHub and function without errors.

Suggested Fix:

Ensure the GitHub PAT is added to the appropriate environment variable in the live website's deployment configuration. This will allow the app to authenticate correctly with the GitHub API.

Please let me know if any additional information is needed. Thank you for maintaining this project!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions