-
Notifications
You must be signed in to change notification settings - Fork 95
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 via planet_auth python libraries #1063
base: main
Are you sure you want to change the base?
Conversation
…net-client-python into carl/oauth-via-plauth-lib
So far, so good! Tested out and found things to be pretty straight-forward and it's definitely nice to have a means to grab/refresh a token My initial review: Good:
Less Good
Questions
Nits
General
Bugs To be improved
|
I'll take the comments more-or-less one at a time (may not get to them all today)
Past the janky magic knowledge in |
Addressed the mutating of the SKEL. I now copy before I modify. Change pushed to MR |
The Auth ABC preserves the v2 structure. I didn't really like the old structure, either, but I was aiming for minimizing impact between v2 and v3 auth for developers. v2 had
One thing that was and still is different from the SDK's One change I did make to the SDK's Layers, man. This problem can have twisty layers. Open to better ideas. |
Deprecation - Maybe I missed a spot. I tried to do this:
|
Auth profile of none (and EmptyBuiltinProfileConstants): The Similar story with |
As a side comment, using |
Bug: |
Change planet.Auth over to using the planet-auth-python library to move towards OAuth2 as the preferred authentication mechanism..