Skip to content

Improve layout of CLI login prompt without QR code #1263

@adombeck

Description

@adombeck

When logging in via SSH, the prompt currently looks like this (that's with the improvements from #1255):

== Device Authentication ==
Open the URL and enter the code below.
https://microsoft.com/devicelogin
            AC69QP9ZK            
 
  1. Wait for authentication result
  2. Request new code
Or enter 'r' to go back to select the authentication method

That layout could be improved. A suggestion from the thread at #1255 (comment) is:

== Device Authentication ==
Open the URL and enter the code below.

URL: https://microsoft.com/devicelogin
Code: AC69QP9ZK            

The other part:

  1. Wait for authentication result
  2. Request new code
Or enter 'r' to go back to select the authentication method

could also be revised.

The layout is implemented in the PAM module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions