Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13656] CLI needs to support the ability to specify different login endpoints

GitHub Issuen/a
TypeStory
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2013-08-28T00:35:06.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 18 Core, 2013 Sprint 18, Release 3.2.0
ComponentsCLI
Labelsn/a
ReporterNam Le
AssigneeChris Barber
Created2013-04-23T20:48:29.000+0000
Updated2017-03-14T18:18:55.000+0000

Description

Different environments will have different login endpints: test, dev, pre-prod, enterprise, vpc. To accommodate these different environments, the cli will have to make the login endpoint configurable - currently it is hard-coded to api.appcelerator.net. This can be configured via the config file or via a parameter This is preventing Studio from working properly against the enterprise cluster, ie unable to login means users can't create projects. As a work-around, users would have to have the same username/password on all api.appcelerator.net type servers

Comments

  1. Nam Le 2013-04-29

    This ticket needs to be scheduled at the latest sprint 10
  2. Nam Le 2013-05-13

    [~ingo][~cbarber] As previously discussed, this should be done for 3.1.1. Updated the fix version
  3. Chris Barber 2013-06-05

    [~nle] Is this still a priority for 3.1.1? Aren't we past code freeze for 3.1.1? /cc [~ingo]
  4. Nam Le 2013-06-05

    [~cbarber] It is not a priority for 3.1.1
  5. Chris Barber 2013-08-28

    Fixed by https://github.com/appcelerator/titanium/commit/14dff9f9895167cf84be7715a88996b6ae604e87! The two Titanium CLI config options you need to set are: * cli.auth.loginUrl * cli.auth.logoutUrl You can set these via:
       ti config cli.auth.loginUrl "http://www.google.com"
       
    You can pass these in at the command line by running:
       ti --config "{cli:{auth:{loginUrl:'http://www.google.com',logoutUrl:'http://www.yahoo.com'}}}" login
       
  6. Lee Morris 2017-03-14

    Closing ticket as fixed.

JSON Source