Two-Factor Authentication
Page last updated:
Page last updated:
If you enable Passeport’s two-factor authentication, you have to use the --sso
flag and follow the instructions.
cf login -a $API_ENDPOINT --sso API endpoint: $API_ENDPOINT One Time Code ( $API_ENDPOINT/passcode )>
Replace $API_ENDPOINT
with your actial API endpoint. It is the URL of the Cloud Controller in your App Cloud instance
Switching to the browser and obtaining a one time code is needed because the cf CLI does not support two-factor auth directly from the terminal yet.
View the source for this page in GitHub