You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This behavior appears to be related to this refactoring: eaae429
It looks like ssh-code command returns the direct result of the authRepo.RefreshAuthToken() call instead of doing further processing to exchange that for a one-time ssh code.
I have verified that this works as expected with version 6.15.
Command
cf ssh-code
CLI Version
6.16.0+ee4d916-2016-02-24
Error
Returns oauth-token instead of ssh code
Stack Trace
CC API Version
v228
CF Trace
For bugs related to HTTP requests, please run the command with env var CF_TRACE=true
Platform Details
Mac OS X 10.11.3
Shell
Terminal (bash)
The text was updated successfully, but these errors were encountered:
Expected behavior:
Observed behavior:
This behavior appears to be related to this refactoring: eaae429
It looks like ssh-code command returns the direct result of the
authRepo.RefreshAuthToken()
call instead of doing further processing to exchange that for a one-time ssh code.I have verified that this works as expected with version 6.15.
Command
cf ssh-code
CLI Version
6.16.0+ee4d916-2016-02-24
Error
Returns oauth-token instead of ssh code
Stack Trace
CC API Version
v228
CF Trace
For bugs related to HTTP requests, please run the command with env var
CF_TRACE=true
Platform Details
Mac OS X 10.11.3
Shell
Terminal (bash)
The text was updated successfully, but these errors were encountered: