-
Notifications
You must be signed in to change notification settings - Fork 305
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
OAuth2 support for flyte-cli and SDK engine #23
Merged
Merged
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
d0715bb
WIP pkce auth flow
katrogan f576129
Add discovery
katrogan c7eba16
pass authentication metadata in gRPC calls
katrogan 1bda5da
add credential type, misc clean-up
katrogan cc2517c
nits
katrogan 2a350c7
removing a redirect follow, comments, adding a sample default discove…
1cb1620
checkpoint
katrogan 2b9d178
proper sequence of events
katrogan 1cc9999
adding config file read, sample config file, and a test that will be …
89dcb1e
pulling and resolving conflicts
1cbcf3a
let ur browser handle redirects
katrogan 6ccb327
pull out urlencode separately, doesn't work for python3
58f97e9
fixing python3 import, changing keyring var names
986d49b
some super pythonic code for handling token refresh
katrogan ff842e2
use retry library
katrogan 2928417
customizable rpc error callback fn
katrogan e50df71
configurable refresh handlers
katrogan 41c6c2b
expose set_access_token
katrogan fd1083e
remove refresh_metadata()
katrogan 33e1586
pyflyte component of auth (#52)
wild-endeavor e380b7e
update the character range for code verifier to include - _ . ~
1ecf29f
adding test for set token
aeb6529
unit test for basic auth handler
b27ae35
add preliminary auth and credentials tests
katrogan 96416fd
Merge branch 'pkce-auth' of github.com:lyft/flytekit into pkce-auth
katrogan d2ddf4a
add discovery client tests
katrogan 18180e9
fix test for updated regex
katrogan 83c91e1
change str to decode because python2
77ce838
no auth mode, rm comment
katrogan bd7324e
nevermind
katrogan 7004c59
one more revert
katrogan 244d032
change handling around default home directory config file loading so …
48f74fe
Merge branch 'pkce-auth' of github.com:lyft/flytekit into pkce-auth
067a604
address review comments
katrogan 23a14c8
nits
katrogan a52ba07
Env var (from pkce-auth pr) option 2 (#64)
wild-endeavor 7f54611
remove no longer necessary location backup for credentials secret
dcd7d34
merge master and resolve conflict
053e03e
use the real auth exception class
0dc3186
get_discovery_endpoint changes
946a058
cleanup keyring code
katrogan a940a0c
Merge branch 'pkce-auth' of github.com:lyft/flytekit into pkce-auth
katrogan d200b55
add expiration handling
katrogan feb403e
bump flytekit version
katrogan fc56ce6
no need to force twice, now that it's been added to the base client
bd9bbb6
use non-beta release
katrogan 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 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 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 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haytham suggested that we implement logic to either accept a wildcard port or a list of ports (i.e. if we register a bunch of hard-coded ports with the IDP.) That way we have some flexibility with choosing an available system port. I'm happy to save that for the next PR though and leave this comment in for now