Skip to content

Conversation

@BartoszBlizniak
Copy link
Member

This pull request updates the authentication mechanism in the validateApiToken function to use bearer token authorization instead of the custom X-Api-Key header.

  • Authentication update:
    • Changed the API request in validateApiToken (in src/oidc-auth.js) to use the Authorization: Bearer <token> header instead of X-Api-Key.

Copilot AI review requested due to automatic review settings December 19, 2025 11:44
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 pull request updates the authentication mechanism from a custom X-Api-Key header to the standard Bearer token authorization format in the validateApiToken function.

  • Changes authentication header from X-Api-Key: <token> to Authorization: Bearer <token>

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
src/oidc-auth.js Updates the authentication header in the validateApiToken function to use Bearer token authorization
dist/index.js Applies the same authentication header change to the compiled distribution file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@BartoszBlizniak BartoszBlizniak merged commit 9005367 into master Dec 19, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants