-
Notifications
You must be signed in to change notification settings - Fork 2
Support auth_code, client_credentials, device_code authentication #143
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
wesleymccollam
wants to merge
75
commits into
main
Choose a base branch
from
support-auth_code-client_credentials-device_code-authentication
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 10 commits
Commits
Show all changes
75 commits
Select commit
Hold shift + click to select a range
73e3178
wip
wesleymccollam 0be0973
working client credentials
wesleymccollam 1d347bb
working methods
wesleymccollam 369337f
support auth_code, client_credentials, and device_code authentication…
wesleymccollam a5256de
Fix token caching detection for OAuth2 authentication methods
wesleymccollam 80e63d8
refactor: address PR feedback for OAuth2 authentication
wesleymccollam 932294c
feat: add support for auth_code, client_credentials, and device_code …
a56efad
Merge branch 'main' into support-auth_code-client_credentials-device_…
wesleymccollam 2120e1c
feat: Add token validation and dual storage support for authentication
wesleymccollam 6e53300
feat: Add dual token storage with file-based fallback
wesleymccollam 1c86fa0
Updates:
wesleymccollam a1d4164
updates:
wesleymccollam 5cc6e6f
Updates:
wesleymccollam 8ff01de
PR Review Edits Updates:
wesleymccollam 872f8e8
fix double-save to keychain, update/correct tests
wesleymccollam 96b0148
use SDK for token name generation, rename auth code to authorization …
wesleymccollam 601bc0a
various linting fixes, use errors package for various error outputs, …
wesleymccollam a53d603
fix logout all methods bug
wesleymccollam dd3aafb
remove redundant logic from login internal
wesleymccollam e398a0c
update login error handling to use pingcli errs package
wesleymccollam 6ae4ed6
update authentication documentation
wesleymccollam 715a749
update auth package error handling, remove unused method
wesleymccollam 08fc116
add error prefix contant for token manager, add deprecation usage tex…
wesleymccollam 3cc9b26
fix: improve token storage reliability and authentication status dete…
wesleymccollam 6c65391
lint fixes
wesleymccollam c9d3832
add --provider flag to login command
wesleymccollam 7a2699c
allow legacy worker authentication type - uses client_credentials
wesleymccollam 24949eb
bump oauth2 package
wesleymccollam 411d2ab
fix worker authentication type when using request command
wesleymccollam ee795dc
correctly save environmentID in config yaml after interactive login
wesleymccollam 5f26bbf
add region code to interactive login
wesleymccollam aa990a8
login: if auth type is supplied, and required fields are not present …
wesleymccollam b2b596a
fix "ERROR: Failed to execute pingcli: invalid authentication type: :…
wesleymccollam 9e552fd
set grant type for client credentials in GetValidTokenSource
wesleymccollam b606ed7
set environmentid for all grant types to config file after interactiv…
wesleymccollam 17bf6a9
improve output on interactive login
wesleymccollam 311144e
add environmentID when getting auth type configuration, improve login…
wesleymccollam 0cfcfc7
remove scopes option for users, use pingone-go-client oidcopenid enum…
wesleymccollam 181a5da
validate input after submit
wesleymccollam 1554acd
add client credentials secret mask for interactive login
wesleymccollam 1ddb2c7
experimenting with different input package
wesleymccollam 6778ac3
change login info verbiage, remove uncommented line
wesleymccollam f91c60a
change login command info verbiage
wesleymccollam 1b23599
do not store credential files by default - only use keychain
wesleymccollam 4b70e36
more verbiage changes
wesleymccollam 0cb5e40
fix double keychain storage, fix verbiage
wesleymccollam cc72d7f
format storage location logic and outputs, fix refresh token usage wi…
wesleymccollam 6d4332c
correctly fall back to pingone environmentid instead of worker app en…
wesleymccollam ea242d4
correctly fall back to pingone environmentid instead of worker app en…
wesleymccollam 9b3e33e
properly store fileStorage bool in config yaml
wesleymccollam 93d2bfc
change file storage parent name in config file, update output on logout
wesleymccollam 62497a1
fix file storage issue, remove newline from logout success message
wesleymccollam d7b67ae
fix only logout specific grant type when flag is supplied
wesleymccollam a895b79
change filestorage to storage type with enums, multiple lint fixes
wesleymccollam d4dc82c
update docs
wesleymccollam fd5ac11
fix storage option type
wesleymccollam a454342
fix worker auth with request usage
wesleymccollam 5403768
correct environment id behavior when using worker authentication
wesleymccollam 1cfdc7c
fix worker auth when using requests, update tests, updated error hand…
wesleymccollam 231a375
corrected: set active profile message, authorization code env var and…
wesleymccollam e8f58d5
use keychain account name suffix method
wesleymccollam 37908d4
fix storage type
wesleymccollam e4c284d
align storage logic to client types
wesleymccollam afcca99
add validation input to interactive login
wesleymccollam bd392a7
fix login storage type validation
wesleymccollam d829524
fix platform export with login
wesleymccollam 1a5e2fc
use correct auth type in platform export
wesleymccollam 599462c
linting, use new client release, doc updates
wesleymccollam 96f4edc
doc updates
wesleymccollam 6223e9c
local login docs
samir-gandhi ea8323f
formatting
samir-gandhi 3011e3e
fix issue where file system storage value didn't work on request comm…
wesleymccollam d58ab3d
update login storage type env var name
wesleymccollam f4ce491
update storage flag to --storage-type
wesleymccollam a2cd64f
correct cobra parameter name for storage type
wesleymccollam File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.