Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose authHeader, for use in the augment context #139

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

slewis74
Copy link

@slewis74 slewis74 commented Oct 25, 2024

To implement something like API Key auth via the headers, the create context needs access to the authorization header from the incoming request.

This PR sets things up so you can return a ServiceUser or a User (interactive user) from the createUser function in the context factory.

NOTE: making this draft for now, it may be useful in the future, but for now we've decided to use an Azure service principal instead of the ApiKey

@slewis74 slewis74 marked this pull request as draft October 25, 2024 05:39
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.

2 participants