How can we deploy an Angular application in IBM Bluemix?

nodejs

#1

Hi ,
I am trying deploy my node js application in IBM Bluemix and am getting unauthorized error i have already set my username and password in circleci environment variable can any one help

error log:
cf auth $BLUEMIX_USER $BLUEMIX_PASSWORD
API endpoint: https://api.ng.bluemix.net
Authenticating…
Error Code: 403
Raw Response: {“error_description”:“BMXLS0202E: You are using a federated user ID, please use one time code to login with option --sso.”,“error”:“unauthorized”}
FAILED

cf auth $BLUEMIX_USER $BLUEMIX_PASSWORD returned exit code 1

Action failed: cf auth $BLUEMIX_USER $BLUEMIX_PASSWORD


#2

Issue resolved


#3

How was it resolved? Would your solution be useful to other posters in the future?


#4

for this command i used to login through apikey:
cf login -a https://api.ng.bluemix.net -u apikey -p $BLUEMIX_API -o $BLUEMIX_ORG -s $BLUEMIX_SPACE


closed #5

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.