acoustic-carpenter-78188
11/09/2023, 1:11 PMAuthorizationClient automatically opens a browser tab/window with the /authorize endpoint in order to receive the authorization code.
When ssh-ing into VMs, the browser window cannot be automatically opened. If one port-forwards the port used by the callback server, a pkce flow could still be done if only the authorization endpoint could be opened in the user's browser.
In this PR I change the AuthorizationClient so that it first tries to open the browser window automatically - as is already the case - but if this is not successful, simply asks the user to open the link.
Type
☐ Bug Fix
☑︎ Feature
☐ Plugin
Are all requirements met?
☑︎ Code completed
☑︎ Smoke tested
☐ Unit tests added
☐ Code documentation added
☐ Any pending items have an associated Issue
Complete description
NA
Tracking Issue
NA
Follow-up issue
NA
flyteorg/flytekit
Codecov: 25.00% of diff hit (target 62.71%)
Codecov: 62.70% (-0.01%) compared to 6998304
✅ 28 other checks have passed
28/30 successful checksacoustic-carpenter-78188
11/09/2023, 9:38 PM