Skip to content

feat: Introduce identifying used authz token getters #221

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 1 commit into
base: anubhav-error
Choose a base branch
from

Conversation

anubhav756
Copy link
Contributor

This PR adds the feature in identify_required_authn_params helper to determine which of the provided auth token getters are actively used to satisfy a tool's authorization requirements (as defined by the authRequired key in its manifest).

This is a foundational step towards future validation in ToolboxTool.add_auth_token_getters, which will ensure no configured auth token getters remain unused, thereby preventing potential misconfigurations.

This PR adds the feature in `identify_required_authn_params` helper to determine which of the provided auth token getters are actively used to satisfy a tool's authorization requirements (as defined by the `authRequired` key in its manifest).

This is a foundational step towards future validation in `ToolboxTool.add_auth_token_getters`, which will ensure no configured auth token getters remain unused, thereby preventing potential misconfigurations.
@anubhav756 anubhav756 self-assigned this May 6, 2025
@anubhav756 anubhav756 requested a review from a team as a code owner May 6, 2025 07:49
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