ICS-MU / pam_oauth2_device

PAM module OAuth2 Device flow
Apache License 2.0
31 stars 14 forks source link

Display of authentiction URL and QR code: usability issue in standard 80x24 terminal session #14

Closed heinzstockinger closed 3 years ago

heinzstockinger commented 4 years ago

If one uses a standard a standard 80x24 character terminal on Linux or macOS, a users sees the QR code (see attached figure) but not the authentication URL. This might be confusing.

I suggest to reverse the order, i.e., first the QR code and then the URL.

current-QR-appearance-in-80x24-terminal
ondrejvelisek commented 4 years ago

Just to point out. It was possible to config in PoC python implementation with texts.promp property https://github.com/ICS-MU/pam_oauth2_device/blob/python_proof_of_concept_impementation/example_config.yml