RTC 6.0.6 REST API Workitem add comment response 403
For some reason, it is said that there is no access right.
Permission Denied
Your account does not have the group memberships required to access the requested resource.
----------------------------------------------
I referred to it
|
Accepted answer
Ralph Schoon (63.1k●3●36●46)
| answered Jul 20 '22, 8:07 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER It is not enough to send the OSLC headers. You also have to make sure you are authenticated and prove you are part of the session. In order to do so, you need to send the header JSESSIONID with the content of the JSESSIONID cookie.
Some applications also require some clients to send the header X-Jazz-CSRF-Prevent with the value of the JSESSIONID cookie. See https://rsjazz.wordpress.com/2019/05/13/using-a-rest-client-to-authenticate-to-elm-clm-applications/
also see:
HIROAKI JOSAKO selected this answer as the correct answer
Comments
HIROAKI JOSAKO
commented Jul 21 '22, 12:35 a.m.
It is a wonderful point!
HIROAKI JOSAKO
commented Jul 21 '22, 3:06 a.m.
It went well!
|
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.