# Feature XWI-17 - Create, update and delete a wiki provider of type xwiki

Project: Stream XWiki integration
Status: closed
URL: https://community.openproject.org/work_packages/XWI-17

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 17.6.0 |
| Sprint | 2026-21 |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

| ID | Subject | Status | Decision |
| --- | --- | --- | --- |
| XWI-39 | What is a usual deployment? Is it common to have multiple wikis per XWiki instance? | resolved | Yes, it is common to have multiple wiki inside an XWiki instance. |
| XWI-40 | Should we be able to configure wikis for xwiki instance integrations? | decided | new proposal is accepted  |
| XWI-68 | Which icon should we use for wiki providers menu | decided | We will use the icon `book` . |
| XWI-69 | Define the text which user should see when a xwiki provider is deleted | decided | Rewritten in ##74906 |
| XWI-70 | What happens to the links, mentions, pages linked etc. when xwiki is deleted? | decided | We destroy all related entities for now |
| XWI-71 | What kind of validation we'd like to have when a xwiki provider is created? | decided | Implemented in ##74909 |
| XWI-85 | Do we have a screen where the user has not been logged in to XWiki? | decided | For now, we only show the connection state in the wiki tab. There will be more places eventually. |

## Use cases

_No work packages_

## Features and Chunks

| ID | Subject | Type | Status | Assignee | Target versions | Spent time |
| --- | --- | --- | --- | --- | --- | --- |
| XWI-27 | Define data architecture | Implementation | closed |  |  |  |
| XWI-28 | Create edit view and add routes | Implementation | closed | Yauheni Suhakou |  |  |
| XWI-29 | Create index view | Implementation | closed | Yauheni Suhakou |  |  |
| XWI-46 | Create & use token exchange auth (OIDC) | Implementation | closed | Yauheni Suhakou |  |  |
| XWI-47 | Create & use OAuth2 auth | Implementation | closed | Yauheni Suhakou |  |  |
| XWI-61 | Add creator to wiki providers — show it in the admin index table | Implementation | rejected |  |  |  |
| XWI-62 | Add Service/contract layer for wiki providers | Implementation | closed | Yauheni Suhakou |  |  |
| XWI-98 | Change admin icon for wiki configuration | Implementation | closed |  |  |  |
| XWI-99 | Refine delete modal texts | Implementation | closed |  |  |  |
| XWI-102 | Update auth with XWiki | Implementation | closed | Yauheni Suhakou |  |  |
| XWI-117 | Fetch XWiki ID and store it in the provider model | Implementation | closed | Yauheni Suhakou | 17.6.0 |  |

## Bugs and other work packages

| ID | Type | Subject | Status | Assignee | Target versions | Spent time | Module |
| --- | --- | --- | --- | --- | --- | --- | --- |
| XWI-41 | Code maintenance | Rename existing models to avoid naming conflicts | rejected |  | 17.3.0 |  |  |

## Technical Details

| Attribute | Value |
| --- | --- |
| Module | Modules and project features / Wiki, Integrations / XWiki, Administration |
| Feature Flag |  |
| Requires doc change | Yes |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups | https://www.figma.com/design/m0Aj4o5upRvD2kdSB7mMQT/XWiki-Integration?node-id=214-6909 |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer | Parimal Satyal |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** an admin  
**I want to** configure an external xwiki instance as a wiki integration  
**so that** this wiki can be used within projects 

**Acceptance criteria**

  - A wiki provider of type XWiki must be creatable, editable and delable.

  - The admin must be able to set a name for the xwiki instance.

  - The admin must be able to connect to a wiki on an xwiki instance by URL.
    
      - If the URL is invalid or doesn't point to a valid xwiki instance, a validation error is shown.

  - ~~The admin must be able to set a xwiki instance identifier.~~

  - ~~The admin must be able to copy an openproject instance identifier~~

  - The XWiki provider instance created must have the universal identifier fetched and saved.

  - The admin must be able to configure an authentication strategy.
    
      - bidirectional OAuth2
    
      - ~~common OIDC~~
        
          - ~~OIDC must work with and without token exchange~~
