LoginKey 1.25 sdk vs 2.0rc1

159 views Asked by At

I've been trying to create an app that can run seperate from Rally. I figured out how to use the LoginKey, but I ran into an issue when I upgraded to 2.0rc1 and now it no longer works.

Before I had:

<script type="text/javascript" src="https://rally1.rallydev.com/apps/1.25/sdk.js?loginKey=secret></script>

Now:

<script type="text/javascript" src="https://rally1.rallydev.com/apps/2.0rc1/sdk.js?loginKey=secret></script>

Any ideas why the it works for 1.25 not 2.0rc1?

2

There are 2 answers

2
Charles Ferentchak On BEST ANSWER

The login key is no longer supported as of SDK 2.0. We are thinking of how we will support this use case in the future but right now we do not have a replacement technology to help you.

Our current plans are to ship a new authorization API in the next few months so that we can support embedding our products into Wikis.

1
nickm On

LoginKey functionality predates AppSDK2. You may use it with AppSDK 1.33 and below.

There are WS API features introduced in version of WS API above 1.33. If you need to access them in your AppSDK 1.x app, you may specify a WS API version beyond that point by using a syntax below, as long as the version you use is under v2.0:

rallyDataSource.setApiVersion("1.43");

while the javascript src points to 1.33:

<script type="text/javascript" src="https://rally1.rallydev.com/apps/1.33/sdk.js"></script>