After getting accessToken, Jazz doesn't send OAuth credentials with subsequent requests to access data
In the Jazz application, I go to Quality Management, select my project, select a Test Case and then click the “Requirement Links”. Now, I try to add new Requirement Link by clicking the plus button (Add new links). A pop up opens and Jazz sends a request to my server, at that point OAuth protocol executes and an accessToken is issued to Jazz.
Then Jazz sends the OAuth header with a subsequent request to my server and successfully gets the required data. Then Jazz sends another request to my server but this time OAuth header doesn't come in with the request. And my application fails to check the authenticity of the request and refuses to send anything back.
So why doesn’t Jazz sends the OAuth header with all the subsequent requests?
Accepted answer
Note, to configure RQM as a consumer of the OSLC RM V2 service provider:
a) Create a friend between RQM and the OSLC RM V2 service provider application (see https://jazz.net/help-dev/clm/topic/com.ibm.jazz.repository.web.admin.doc/topics/tservertoserverestablish.html). Note, the OSLC RM V2 service provider application MUST implement OAuth 1a and 'fake' a Jazz root services document, which is the purpose of the OSLC4J registry web application (see http://wiki.eclipse.org/Lyo/BuildingOSLC4J#The_OSLC4J_registry_web_application).
b) Associate the OSLC RM V2 service provider application with the RQM project area (see https://jazz.net/help-dev/clm/topic/com.ibm.jazz.platform.doc/topics/t_adding_associations_web.html).
For more information, see http://git.eclipse.org/c/lyo/org.eclipse.lyo.docs.git/plain/Lab1/Lyo_OSLC_Workshop.pdf
Comments
Donald Nong
Nov 13 '15, 4:39 a.m.Saqib Niaz
Jan 14 '16, 11:09 p.m.1 vote
Benjamin Röhl
Nov 25 '15, 5:41 a.m.