ICS-MU / pam_oauth2_device

PAM module OAuth2 Device flow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

heinzstockinger opened this issue · comments

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

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