feat(auth): implement TokenSmith-backed service authentication #60
Open
alexlovelltroy wants to merge 1 commit into
Open
feat(auth): implement TokenSmith-backed service authentication #60alexlovelltroy wants to merge 1 commit into
alexlovelltroy wants to merge 1 commit into
Conversation
…D requests - Introduced `auth` package to manage authentication modes: disabled, optional, and required. - Added `Provider` struct to handle token exchange and auto-refresh logic. - Integrated TokenSmith authentication into CoreSMD and CoreDNS plugins. - Updated configuration parsing to include `auth_mode`, `tokensmith_url`, and `refresh_before` settings. - Enhanced tests for authentication logic and configuration validation. - Updated documentation to reflect new authentication features and usage examples. Signed-off-by: Alex Lovell-Troy <alovelltroy@lanl.gov>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
authpackage to manage authentication modes: disabled, optional, and required.Providerstruct to handle token exchange and auto-refresh logic.auth_mode,tokensmith_url, andrefresh_beforesettings.Checklist
make test(or equivalent) locally and all tests passgit commit -s) with my real name and email<filename>.licensesidecarLICENSES/directoryType of Change
For more info, see Contributing Guidelines.