How can I find the OAuth secrets generated by Jazz setup?
Installed the LQE application into an existing CLM setup containing JTS, CCM, QM, RM, DCC and Report Builder. The installation went fine and everything was working. Then I tried to add the LQE as a data source in Report Builder. Couldn't find the consumer secret that was used by Jazz Setup (I know it's hidden for a reason...), so I changed the secret on the JTS Consumer page and was able to register the Data Source with the new Secret. Then - LQE started throwing Unauthorized errors. Not surprising since I changed the secret. So I went into lqe.properties, changed lqe.config.Mode to true and restarted LQE. Changed the Secret on the Config page when it came up and everything appeared good. Now - all Data Sources that connect through JTS (jts and rm) are busted. Once again, this is not surprising. Before I fix these though, this seems like an awful lot of work. How can I find the original OAuth secret? I look in all the config files I could think of. Or is it just not in a file for security reasons? Thanks, Fran Kemp |
One answer
Hi Fran,
I don't know of any easy way to find the consumer secret that is used when you register an app in Jazz Setup. However, if LQE and Report Builder are registered with the same JTS, you don't need to manually add the LQE data source (and so, you don't need to know the consumer secret). Instead, to add the LQE data source, go into the Report Builder admin page (rs/setup), and click on "Connect to data sources". This will add the LQE data source (if it didn't already exist).
Comments
Francis Kemp
commented May 31 '16, 1:12 p.m.
Alanna,
I don't know why there isn't some way for an administrator to retrieve the secrets generated during set up (though as you point out, this would be subject to security restrictions). I can say that I've almost never come across a scenario where those values are needed - there is usually a way to automatically set up communication between apps on the same JTS without needing to know the secret (as in the Connect to Data Sources example). |
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.