Problem while getting service provider url from RTC 7.0.2 tool with authorization server
Downloaded this OSLC4Net build and was trying to retrieve data from RTC 7.0.2. The code is getting authenticated at client.FormLogin() and returning a OK status code. But when it is trying to fetch service provider URL based on catalog URL for the respective project area by the "client.LookupServiceProviderUrl(catalogUrl, projectArea);" it is giving the following response --
3 answers
OSLC4Net is not Jazz code - it's part of the OSLC community. So it's unlikely that Jazz developers in this forum will be able to answer questions about its code usage. The OSLC Forum might be a better place to ask. A 401 response usually means you have not authorised with the server. I do not know how OSLC4Net handles authorization.
Hi
That is so nonsense that I have to login to be able to access https://jazz.net/wiki/bin/view/Main/NativeClientAuthentication
Comments
The developer wiki is not meant to be documentation, there is just a bunch of stuff that can serve as documentation. I think the login has legal reasons. You had to agree to the terms and conditions when creating your user Account.
As far as I know, you can still search the data, you just have to login to access it.
https://jazz.net/wiki/bin/view/Deployment/ELMProductAPILanding is the best starting point for APIs at the moment. Not ideal, but OK.
That specific documentation about the client login is really hard to understand. I tried and wrote this because of it: https://rsjazz.wordpress.com/2021/10/15/elm-authentication/ . It might be useful.
Thanks
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Mar 16 '22, 9:12 a.m.If you ask on the OSLC Forum, consider to provide information such as