View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010118 | Taler | merchant backend | public | 2025-06-21 21:18 | 2025-06-24 22:29 |
Reporter | Christian Grothoff | Assigned To | Christian Grothoff | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | assigned | Resolution | open | ||
Platform | i7 | OS | Debian GNU/Linux | OS Version | squeeze |
Product Version | git (master) | ||||
Target Version | 1.3 | ||||
Summary | 0010118: merchant backend should have API to list and revoke access tokens | ||||
Description | We probably also want to extend the /token endpoint to allow the user to give a human-readable name to each token. | ||||
Tags | No tags attached. | ||||
related to | 0009644 | confirmed | bank ui should support listing and revoking tokens | |
related to | 0010108 | feedback | Christian Grothoff | customer unable to extract authorization token for WooCommerce integration |
|
We should ideally make sure the API does not differ from the same API of the bank (see 0009644) |
|
Work started in dev/schanzen/issue_10118. Descripton and serial columns had to be added to the tokens DB. We deviate from the Bank API because we return the serial as "serial" and not "row_id" row ID seems semantically incorrect. |
|
Open tasks: - Test description (it works but needs proper test) - Test pagination Remaining effort: approx 4h |
|
API for deletion by serial added, including tests. Pagination tests added. Documentation added. Ready for review. Major point: Name of pagination argument in this API is "serial". In core bank it is "row_id". |
|
I just noticed while browsing issues that 0010108 actually requires an API that returns the token itself. Currently, we do NOT return the token in plain text. This is because I modeled it after the Bank API, for which this is also the case. Adding the token field is trivial, if wanted/needed. |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-06-21 21:18 | Christian Grothoff | New Issue | |
2025-06-21 21:18 | Christian Grothoff | Relationship added | related to 0009644 |
2025-06-21 21:19 | Christian Grothoff | Note Added: 0025293 | |
2025-06-21 21:19 | Christian Grothoff | Status | new => confirmed |
2025-06-21 21:19 | Christian Grothoff | Target Version | 1.1 => 1.3 |
2025-06-21 22:32 | schanzen | Assigned To | => schanzen |
2025-06-21 22:32 | schanzen | Status | confirmed => assigned |
2025-06-22 23:16 | schanzen | Note Added: 0025309 | |
2025-06-22 23:17 | schanzen | Note Added: 0025310 | |
2025-06-23 08:10 | schanzen | Assigned To | schanzen => Christian Grothoff |
2025-06-23 08:11 | schanzen | Note Added: 0025315 | |
2025-06-24 22:28 | schanzen | Relationship added | related to 0010108 |
2025-06-24 22:29 | schanzen | Note Added: 0025351 |