Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How do you get the JRS widgets to load automatically instead of asking you to log in again?

We are using version 5.0.2.  I used JRS to build a report that pulls specific RTC work items and show them as a stacked bar chart.  I put this widget on a RTC dashboard.  When you click on that dashboard tab, it shows the title of the widget and gives the message "You must log into <server> to view this content" and then it gives you a link to log in.  When you click the link, it finally shows the widget.  I am already logged into RTC and am pulling RTC data for the widget, so why does it ask me to log in again?  How do I get it to automatically show the widget without asking the use to log in?

0 votes


Accepted answer

Permanent link

Hello Delhi,

Looking at the work item associated to the RFE:
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/380154

this has been fixed in CLM 6.0.3: "Added an automatic click of the login link to initiate the no-op login (when the JTS is c-olocated)."

Best Regards
Francesco

Janet Charbonneau selected this answer as the correct answer

0 votes


3 other answers

Permanent link
Hello Janet,

we have seen reports of this behavior in support.
It's a reproducible scenario that happens the first time each user logs to the server after a restart, when you click the login button on one widget you are good with all the others.
However the same behavior shows up again roughly after 1 day (even if the server is not restarted in the meanwhile).
This is currently being investigated internally.

Best Regards,

Francesco Chiossi

1 vote

Comments

Thanks, Francesco!  I get this behavior every time I open my browser.  I can be on that widget and log in so it shows the widget.  Then close my browser and open it back up.  Log back into RTC and open that dashboard again and it gives me the log in message again.  This is unacceptable to use for my customers.  I need widgets that load automatically; thus this renders JRS useless for us.  :(

Hi Francesco,
Do we have any work item or APAR where it is investigated?

Hello Krzys,
I have an internal Escalation (sent you the link by mail).

Development has stated JRS uses OpenSocial (OS) gadgets (not widgets) to display information on the JTS dashboard. When a gadget needs to query data from JRS, it uses the OS container API to initiate the OAuth dance resulting in a authorization token that would be used all subsequent requests. However, in the situation described by the log, the OS container (JTS) responds with a HTTP 302 code (a URL redirection). Normally, in a redirection situation, the client would re-request the data using the provided redirected URL. However, in this case, it results in another HTTP 302 response with another slightly different URL. This continues into an infinite loop. In order to mitigate the extricate itself from this loop, the JRS gadget has code to detect this condition and call JTS's /jts/proxy/logout service. After this "logout" occurs, the OS container returns the proper response in the form of a OAuth authorization link and login can proceed. What's observed here is that mitigation process in action. This is working as designed.

This is not an acceptable answer that it is working as designed!  This is a defect!!  When I am logged into RTC and I go to a dashboard, then it should automatically load the widgets on that dashboard.  I should not have to log in again!  Is there a defect submitted to fix this?  I am currently not using JRS widgets because of this problem.  Therefore, this problem is stopping my customer from using the benefits of the JRS report.  If there is not a current defect submitted on this, then I would be happy to submit one because this is not an acceptable, normal behavior for loading a widget!!


Permanent link
There is an existing RFE I created that you can vote and comment on:
https://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=80719

0 votes


Permanent link

Hello Francesco, Do you know when this defect will be resolved?. We do suffer with this behaviour and have been told by customer to remove JRS reports from RTC.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,121
× 360
× 84
× 7

Question asked: Jul 16 '15, 5:00 p.m.

Question was seen: 4,582 times

Last updated: Mar 15 '17, 7:34 a.m.

Confirmation Cancel Confirm