Skip to content

Conversation

@karpikpl
Copy link
Collaborator

disable auth for healtcheck endpoints - fixes #268

@karpikpl karpikpl requested a review from Copilot September 13, 2025 02:19
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes authentication issues with health check endpoints by modifying the GitHub authentication middleware to skip authentication for specific health check paths. The change allows health check endpoints (/api/health, /api/live, /api/ready) to be accessed without authentication, addressing issue #268.

Key Changes

  • Updated authentication middleware logic to exclude health check endpoints from authentication requirements
  • Added explicit path checking for health check endpoints alongside existing non-API route exclusion

@karpikpl karpikpl merged commit a099991 into main Sep 13, 2025
6 checks passed
@karpikpl karpikpl deleted the bugfix/no-auth-for-healthchecks branch September 13, 2025 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Health check endpoints are returning 500 errors without a token

2 participants