Testing endpoints is logging out user
Open
Nobody has claimed this yet.
0. Needs triage
bug
feature: api
- Dominant language
- JavaScript
- Stars
- 214
- Forks
- 52
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 82
Description
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Steps to reproduce
- Activate "Try it out" e.g. on GET /index.php/apps/tables/api/1/rows/{rowId}
- Enter rowId
- Click Execute
Expected behaviour
The result of the query is shown.
Actual behaviour
The user is logged out the same time the result is shown.
Server configuration
Nextcloud Community AIO (NC31), the other one I don't know the server config
Nextcloud version: 30.0.8 and 31.0.0
List of activated apps
Taken from the NC31 instance ``` Enabled: - activity: 4.0.0 - admin_audit: 1.21.0 - app_api: 5.0.2 - approval: 2.2.0 - approve_links: 1.1.0 - bruteforcesettings: 4.0.0 - calendar: 5.2.0 - circles: 31.0.0-dev.0 - cloud_federation_api: 1.14.0 - collectives: 2.16.1 - comments: 1.21.0 - contacts: 7.0.4 - contactsinteraction: 1.12.0 - dashboard: 7.11.0 - dav: 1.33.0 - deck: 1.15.0 - external: 6.0.2 - federatedfilesharing: 1.21.0 - federation: 1.21.0 - files: 2.3.1 - files_downloadlimit: 4.0.0 - files_external: 1.23.0 - files_pdfviewer: 4.0.0 - files_reminders: 1.4.0 - files_sharing: 1.23.1 - files_trashbin: 1.21.0 - files_versions: 1.24.0 - firstrunwizard: 4.0.0 - forms: 5.1.0 - groupfolders: 19.0.4 - guests: 4.2.0 - impersonate: 2.0.0 - integration_gitlab: 3.1.2 - logreader: 4.0.0 - lookup_server_connector: 1.19.0 - mail: 4.3.5 - nextcloud_announcements: 3.0.0 - notes: 4.11.0 - notifications: 4.0.0 - notify_push: 1.0.0 - oauth2: 1.19.1 - ownershiptransfer: 1.1.0 - password_policy: 3.0.0 - photos: 4.0.0-dev.1 - polls: 7.4.2 - privacy: 3.0.0 - profile: 1.0.0 - provisioning_api: 1.21.0 - recommendations: 4.0.0 - related_resources: 2.0.0 - richdocuments: 8.6.4 - serverinfo: 3.0.0 - settings: 1.14.0 - sharebymail: 1.21.0 - spreed: 21.0.1 - support: 3.0.0 - survey_client: 3.0.0 - systemtags: 1.21.1 - tables: 0.9.0 - tasks: 0.16.1 - text: 5.0.0 - theming: 2.6.1 - twofactor_backupcodes: 1.20.0 - twofactor_totp: 13.0.0-dev.0 - user_status: 1.11.0 - viewer: 4.0.0 - weather_status: 1.11.0 - webhook_listeners: 1.2.0 - whiteboard: 1.0.5 - workflowengine: 2.13.0 Disabled: - announcementcenter: 7.1.0 (installed 7.1.0) - bookmarks: 15.1.0 (installed 15.1.0) - drawio: 3.0.8 (installed 3.0.8) - encryption: 2.19.0 (installed 2.18.0) - files_bpm: 1.7.1 (installed 1.7.1) - integration_openai: 3.5.0 (installed 3.5.0) - nextcloud-aio: 0.7.0 - suspicious_login: 9.0.1 - twofactor_nextcloud_notification: 5.0.0 - updatenotification: 1.21.0 (installed 1.20.0) - user_ldap: 1.22.0 ```Nextcloud configuration
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder
Browser
Browser name: Firefox
Browser version: 136
Operating system: Linux Mint
Browser log
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the logout using the documented GET /index.php/apps/tables/api/1/rows/{rowId} endpoint and the reported Try it out flow. Trace the endpoint request and session handling first; done means the query result is shown without logging out the user, with a regression test covering the request.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100