nativescript-cli icon indicating copy to clipboard operation
nativescript-cli copied to clipboard

Login without browser

Open Jai-Krish opened this issue 8 years ago • 2 comments

tns login cannot be used in a CLI environment like in a Docker container which doesn't have a browser. Is there any other way for authentication ?

Which platform(s) does your issue occur on?

iOS/Android/Both

Please provide the following version numbers that your issue occurs with:

  • CLI: 4.0.0
  • Cross-platform modules: 4.0.0
  • Runtime(s): tns-android: 4.0.1
  • Plugin(s): 4.0.0

Jai-Krish avatar May 08 '18 09:05 Jai-Krish

Hey @Jai-Krish , You can use tns dev-login <username> <password> in such environments. This will allow you to use cloud builds. Can you give it a try and confirm if it works on your side?

rosen-vladimirov avatar May 08 '18 09:05 rosen-vladimirov

Thank you @rosen-vladimirov, It works!!! :+1:

Jai-Krish avatar May 08 '18 12:05 Jai-Krish