Closed novice002 closed 3 months ago
@novice002 Thanks for raising this issue!
Getting authentication to work is the first hurdle.
The following are the main reasons why authentication fails:
The logs suggest that Kerberos might not be the reason (or is it?).
So, assuming that cookies work, here is a workaround that you might try, that 100% works if cookie auth is possible: Provide cookies manually. Or, if you already know of additional cookies that are required (SSO solutions often introduce additional ones), you can enter their names in the Advanced configuration.
There is a second workaround that you might try, that is described here, that just routes all requests to Confluence through the browser: Alternative to obtain cookies (compatible with Kerberos). Good for getting started quickly.
Are you on Confluence >= 7.9 by any chance? Then waiting till next week might be worth it. The next version of WikiTraccs supports Personal Access Tokens - which is a more convenient cookie-auth replacement.
@novice002 The latest version is ready and introduces Personal Access Tokens: Releases. I'm curious what's up in your environment.
Hello, @heinrich-ulbricht Thank you so much for your prompt help and suggestion!! And my apologies for responding in delayed manner.
In short, your advice worked, and I was able to perform a test migration right away after this huddle. As you suspected, I needed to use additional cookies. (This issue should be considered as 'user-error' since I did not read the manual provided as dedicated menus in the product site...)
Just to respond to your comment regarding the new version of WikiTraccs 1.14.8:
Thank you again, and I much appreciate your help!
Forgot to close. Closing now. Thank you :)
(Please let me know if you need me to re-open the issue in case you need to complete certain task before closing)
@novice002 Thank you very much for the update! Sounds all good. May I ask which SSO solution you have in place and how the cookies were named that you needed to add? I try to figure out the most common SSO solutions. So far Shibboleth appeared a few times, as well as some Kantega solutions.
I recommend using the latest version of WikiTraccs. The clouds are constantly evolving, and so is WikiTraccs.
@heinrich-ulbricht Thank you again for your recommendation. I will try the latest WikiTraccs version.
As for cookies, I am using the following cookie entries in cookies.txt:
FYI, our Confluence (on-prem) is integrated with on-prem AD via Crowd.
EDIT: In terms of SSO, no SSO is set in authentication to Confluence. (If you mean automatic-login leveraging Windows credential by 'SSO') We don't mind exercising our fingers with entering the credential manually.
Hope this helps. Thank you!
Is there an existing issue for this?
Current Behavior
Hello,
I am facing the same issue as in #50 in Confluence connection testing when using Interactive Login. ('Could not get authenticated data context for Confluence; I can do nothing')
Your insight would be greatly appreciated!
Expected Behavior
Success on Confluence connection test.
WikiTraccs Version
1.13.0
Confluence Version
Confluence 7 (up to 7.17)
Confluence Data Center?
Relevant log output or page storage format
Anything else?
No response