web-clipper icon indicating copy to clipboard operation
web-clipper copied to clipboard

Confluence Add Account Issue

Open limex opened this issue 3 years ago • 3 comments

Hi, the Binding of a Confluence Accounts is not working.

Steps to reproduce the behavior:

  1. Go to the Settings. Select 'Account' from the left bar. Select 'Bind Account' from the right side of the dialog. A popup opens.
  2. Select 'Confluence' in the Dropdownlist
  3. Add the API Origin in the text box (i.e. https://yoursite.atlassian.net )
  4. Click 'Authentication'
  5. Click 'Space'
  6. Click 'Verify'
  7. See Error 'spaceid is required'
  8. In the develper tools I see the error:
**Request** URL: https://agilemojo.atlassian.net/rest/api/space
Request Method: GET
Status Code: 404 
Remote Address: 185.166.143.36:443
Referrer Policy: strict-origin-when-cross-origin
**Response Headers:**
atl-traceid: ce1ba9b104ba2100
content-encoding: gzip
content-type: text/html
date: Wed, 03 Aug 2022 06:16:41 GMT
expect-ct: report-uri="https://web-security-reports.services.atlassian.com/expect-ct-report/atlassian-proxy", max-age=86400
nel: {"report_to": "endpoint-1", "max_age": 600, "include_subdomains": true, "failure_fraction": 0.001}
report-to: {"group": "endpoint-1", "max_age": 600, "endpoints": [{"url": "https://dz8aopenkvv6s.cloudfront.net"}], "include_subdomains": true}
server: globaledge-envoy
strict-transport-security: max-age=63072000; preload
vary: Accept-Encoding
x-content-type-options: nosniff
x-envoy-upstream-service-time: 102
x-xss-protection: 1; mode=block

Expected behavior

A field or instruction to add the API Key. Fields to add username and pwd for Confluence

Screenshots

image

** information**

  • Notebook: [Confluence]
  • Browser [chromei]
  • Version [103.0]
  • OS: macOS

Additional context

none

limex avatar Aug 03 '22 06:08 limex

web clipper not support Confluence7.

which version of Confluence do you use?

DiamondYuan avatar Aug 03 '22 17:08 DiamondYuan

Thanks for your quick answer. I am using the cloud version of confluence. According to https://confluence.atlassian.com/doc/confluence-release-summary-160006346.html this should be 7.19. Is there a chance to simply fix it? If I understand that correctly, then the endpoint for the spaces changed from atlassian.net/rest/api/space to atlassian.net/confluence/rest/api/space. I suppose all other endpoints in the code need also adjustments. Or are there more differences from 6 to 7 "under the hood"?

limex avatar Aug 03 '22 18:08 limex

There is a big difference between v6 and v7, and support should not be considered for a short time.

DiamondYuan avatar Aug 04 '22 16:08 DiamondYuan