Switch OOB SSO authentication for SSH to use the instructions instead of the name #964
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Some SFTP clients (specifically WinSCP) truncate the name parameter for keyboard interactive login (WinSCP specifically puts it in the titlebar):
![image](https://private-user-images.githubusercontent.com/51303984/311579041-dc90ad67-e383-4cba-8326-79f08405fde6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxNjQzNDEsIm5iZiI6MTcyNjE2NDA0MSwicGF0aCI6Ii81MTMwMzk4NC8zMTE1NzkwNDEtZGM5MGFkNjctZTM4My00Y2JhLTgzMjYtNzlmMDg0MDVmZGU2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEyVDE4MDA0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM3NmU3NzRhNWI3N2U3YTM1NDY2MDkwYWFkZDY0NDQ2NjQyOWNhMGNmNzE2YmJlNzJkYmQ3NGQ2YTk5MmM1OTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.oeHTTxVVIDaZxXbrIZYM3PwwK8qBWXT6MouJFQsmo8A)
This PR changes the Warpgate authentication flow to use the keyboard interactive parameter for instructions for the primary instructions for SSO web-based auth, instead of the name. This results in the following UI for WinSCP:
![image](https://private-user-images.githubusercontent.com/51303984/311578499-0893f9c3-8724-4a4e-8c62-3e1d1484f2f0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxNjQzNDEsIm5iZiI6MTcyNjE2NDA0MSwicGF0aCI6Ii81MTMwMzk4NC8zMTE1Nzg0OTktMDg5M2Y5YzMtODcyNC00YTRlLThjNjItM2UxZDE0ODRmMmYwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEyVDE4MDA0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM3ZGJkNjU2Y2JmNmNlZDQ2MGUyOTJkZTVlODYyMTFkYWQ5YmQzMTAwY2ViOGVlNjFjMGJhOTE5MjQ4NjZkNDUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.4Xq0v51h6anb3PpipgPRa_WVeBdDJgTYCWpv8pTk88A)
Filezilla:
![image](https://private-user-images.githubusercontent.com/51303984/311578683-089f7f72-73e2-4d0e-bb45-4d470b8fb39b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXR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WQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEyVDE4MDA0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFmNDQ3OWFhNWI0NTc0MWZlNWVjYTYxMzliZjhlZjNiZDZlN2I2MzhkZjU0MjA5OTY3M2MyZTEwMDAxZGY5NWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.r0I0qivFBwxhFTK_Av0E4ALTANa65BIvjg2AopzSuZs)
Perhaps some changes to the wording may be in order (e.g. to prevent the duplication of 'Warpgate authentication' in OpenSSH and FileZilla, but I thought I would leave this PR as being as minimal as possible for the meantime.