-
Notifications
You must be signed in to change notification settings - Fork 3
feat: Add QR code output with completion URL #186
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
base: main
Are you sure you want to change the base?
Conversation
src/anaconda_auth/actions.py
Outdated
| import qrcode | ||
|
|
||
| # Create a QR code object | ||
| qr = qrcode.QRCode( |
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.
maybe this should be in the except below, like the browser didn't open
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.
Agree. I don't think we want to do both. I could also see using that as the default, but being able to opt-in to QR code via config.
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.
Check out the new logic I implemented. What do you think?
Summary
POC / Work-in-Progress.
Allows outputting QR code in terminal during device flow for completion via phone.