Skip to content

API key authentication - #8

Merged
m-messer merged 5 commits into
mainfrom
7-evaluation-function-authentication
Aug 11, 2025
Merged

m-messer merged 5 commits into
mainfrom
7-evaluation-function-authentication

Conversation

@aplr

@aplr aplr commented Sep 11, 2024

Copy link
Copy Markdown
Contributor

This PR implements API key authentication using the value provided in the API_KEY header with HTTP requests.

The source API key can be provided using the AUTH.KEY environment variable, or the --auth-key CLI flag.

@aplr aplr linked an issue Sep 11, 2024 that may be closed by this pull request
@m-messer

m-messer commented Aug 4, 2025

Copy link
Copy Markdown
Member

Added two unit tests to test for if the auth implementation works if the API key is correct and incorrect.

@neagualexa neagualexa left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

should the tests also cover HTTPS?

Comment thread handler/handler_test.go
@m-messer
m-messer requested a review from neagualexa August 11, 2025 12:10
@m-messer
m-messer merged commit 94f3e6b into main Aug 11, 2025
8 checks passed
@m-messer
m-messer deleted the 7-evaluation-function-authentication branch August 11, 2025 12:30
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.

Evaluation Function Authentication

3 participants