atlassian-python-api icon indicating copy to clipboard operation
atlassian-python-api copied to clipboard

confluence integrate with cas, the login is failed, how to verify

Open jwh5566 opened this issue 4 years ago • 3 comments

hello! my confluence is integrate with cas, the login url is https://cas.xxxxx/cas/login?service=https://conflucen.com i use this to auth is failed confluence = Confluence( url = 'https://cas.xxxxx/cas/login?service=https://confluence.xxxx.com/index.action', username='xxxxx', password='xxxxx')

so how to login to get the rest api data?? thanks a lot

jwh5566 avatar Aug 04 '21 12:08 jwh5566

Hello @jwh5566 , hm, I do recommend you review authentication process and provide a cookie for exist code.

gonchik avatar Aug 04 '21 12:08 gonchik

ok thanks a lot,i will review the code!

jwh5566 avatar Aug 05 '21 00:08 jwh5566

Hello @gonchik, I review the code, but i still can't understand how to auth, how to privide the cookie, so i have to think other way: in the cas with confluence, i ignore the api url (/rest/*), so whether or not i can use atlassian-python-api auth with the rest url like this: confluence = Confluence( url = 'https://doc.devops.digisunlord.com/rest/api/content', username='xxxxx', password='xxxxx') if not , i have to use the native rest api, any way thanks again!

jwh5566 avatar Dec 30 '21 03:12 jwh5566