# Feature COMMS-1129 - Move Hocuspocus / documents access token creation to the APIv3 so that the mobile app can use it

Project: Stream Communicator
Status: in development
URL: https://community.openproject.org/work_packages/COMMS-1129

## Planning

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

## OPEN POINTS / FEEDBACK

_No work packages_

## Use cases

_No work packages_

## Features and Chunks

| ID | Subject | Type | Status | Assignee | Target versions | Spent time |
| --- | --- | --- | --- | --- | --- | --- |
| COMMS-1130 | Use scopes and remove feature flag | Implementation | in development |  | 18.1.0 |  |
| COMMS-1131 | Use new APIv3 endpoint for collaboration token refresh on documents (web) | Implementation | in development |  | 18.1.0 |  |

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module | Modules and project features / Documents, API, Modules and project features / Text editor / Real time collaboration |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

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

## Estimates and progress

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

## Description

**As** a developer of the mobile app  
**I want to** be able to obtain Hocuspocus access tokens  
**so that** I can implement collaborative documents on the mobile app

**Acceptance criteria**

  - It is possible to get Hocuspocus / collaboration server access tokens via the APIv3

  - The OpenProject frontend also uses the new APIv3 endpoint instead of the existing backend endpoint (there should not be two different routes to get a collaboration server access token)

**Technical notes**

  - Most of the work was already done during the passion time with <mention class="mention" data-id="80902" data-type="work_package" data-text="###SE-664" data-display-id="SE-664">\#\#\#SE-664</mention>

**Permissions and visibility considerations**

  - Only authenticated users can obtain collaboration server access tokens (like before)
