Opened 2 years ago
Last modified 2 years ago
#12422 new Bug report
Instructions not displayed on keyboard-interactive w. no questions
|Reported by:||janoszen||Owned by:|
|Component version:||3.53.1||Operating system type:||Windows|
|Operating system version:||Windows 10 build 19041|
Description (last modified by )
When a server sends a keyboard-interactive authentication info request (SSH_MSG_USERAUTH_INFO_REQUEST) with zero prompts, the user is not presented with the instructions field.
We are attempting to use the instructions field to convey the OAuth2 Device Flow instructions field in ContainerSSH:
Please click the following link: https://github.com/login/device Enter the following code: CODE HERE
The server waits with sending the SSH_MSG_USERAUTH_SUCCESS until the user has completed the OAuth2 device flow.
Thank you for your help.
Change History (3)
comment:1 by , 2 years ago
comment:2 by , 2 years ago
comment:3 by , 2 years ago
Note: See TracTickets for help on using tickets.
As a fix I would recommend displaying the keyboard-interactive window, but hiding the text field if this case happens. If the user clicks the "OK" button, the empty response message can be sent to the server so it can start polling the OAuth2 endpoint to wait for the user to complete the authentication process.