Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

itowlson
Copy link
Collaborator

This should have no observable effect on the UX* - it just breaks up the LoginCommand::run() function into smaller bits that hopefully make the various flows more visible and tractable.

* oh okay, it does have one observable effect - the --get-device-code and --check-device-code arguments now override --auth-method whereas previously it was the other way round - but mixing those flags is a bit iffy anyway

Signed-off-by: itowlson [email protected]

@itowlson
Copy link
Collaborator Author

I was doing some further testing on this and hit a display issue with interactive prompts (prompts weren't displaying until a newline character arrived). I've included a fix for that here, as a separate commit, but can split it into a separate PR if we want.

@itowlson
Copy link
Collaborator Author

I'm afraid I ran into another one, where the Bindle URL was working if provided via the CLI or env vars (which, realistically, is how everyone does it), but if you were going through the interactive prompt process, we didn't ask for it, leading to failure at deployment time. Again, I've bundled it in here, but can move it to a distinct PR if preferred.

Copy link
Member

@radu-matei radu-matei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed and tested as part of #819.

LGTM

@itowlson itowlson merged commit bda5677 into spinframework:main Oct 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants