XSEDE / oauth-ssh

SSH with Globus Auth
Apache License 2.0
28 stars 11 forks source link

Validate auth client exists before oauth flow #31

Closed JasonAlt closed 5 years ago

JasonAlt commented 5 years ago

It would be useful if globus-ssh would issue GET /v2/api/clients?fqdn=<fqdn> on login prior to asking the user to follow the given link. As it is now, the Globus Auth must reject the request with a cryptic response.

It would also help to do this before requesting the user issue the login command when globus-ssh can not find an access token for the host given to connect.