Skip to content

Allow bearer token authentication in OpaConfiguration #105

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

kxtxr
Copy link

@kxtxr kxtxr commented Jul 18, 2025

This MR implements this #2 request

kxtxr added 4 commits July 18, 2025 04:12
- Added header management in OpaClient.Builder to allow users to specify headers for OPA requests.
- Updated OpaConfiguration to accept headers in its constructor and provide a method to retrieve them.
- Modified OpaRestClient to include headers in HTTP requests.
- Improved code formatting and documentation for clarity.
- Updated the callOpa method to add custom headers for API requests, enhancing the OpaClient's functionality.
- Improved code formatting for better readability.
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.

1 participant