Can't access the URL using my credentials now.
Hi Team,
1. rootservices2. Then, executes this url - https://<server>/rm/oslc_config/components. When I execute this URL with username and password, it returns 401, When I execute it with JSESSIONID it returns 403(Permission Denied).
2 answers
Sounds like you're trying to insert authentication cookies? You do not need to do that: in your python script which I guess uses the Python Requests package you should create and always then use the same requests session during authentication and then forever after; it will propagate cookies it receives into subsequent http actions and you literally have to do nothing other than keep using the same session.
Comments
Thanks for the response.
Please note that I used the same code.
no - your authentication code isn't working so you'll have to debug it.
Okay, Let's leave the code.
1 vote
In this case, which auth method should I use? Please share your suggestion.
IDK - refer to https://jazz.net/wiki/bin/view/Main/NativeClientAuthentication - probably FORM but your deployment may use JAS which is a rather different ballgame. Good luck!
@Ian Barnard, is there a way to check which type of authentication does my server support?
For ELM/DOORS Next also see