View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010121 | Taler | merchant backend | public | 2025-06-23 01:21 | 2025-06-23 14:21 |
Reporter | sebasjm | Assigned To | sebasjm | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 1.0 stretch goals | ||||
Target Version | 1.0 stretch goals | ||||
Summary | 0010121: should be able to change the instance password with the admin access token | ||||
Description | right now we cant, see https://bugs.gnunet.org/view.php?id=10120 curl 'http://merchant.taler.test:1180/instances/qwe/private/auth' \ -H 'Authorization: Bearer secret-token:W54DY9Q7PZMSHVN20HAKMWJAA5NDB1XKW9SY8XADZJ1NQN2CKYC0' \ --data-raw '{"token":"secret-token:eee","method":"token"}' but this may change when v19 lands | ||||
Tags | No tags attached. | ||||
|
This should work. Unless you got the token from /private/token, then you can only use it against the /private/auth endpoint, of course. But if you got the admin token from /instances/qwe/private/token, this must work, otherwise it is a bug/regression. |
|
Sorry, this was incorrect, when changing the auth of another instance, you are supposed to use the management endpoint I think |
|
ACK I see https://docs.taler.net/core/api-merchant.html#post--management-instances-$INSTANCE-auth I will test it out with this endpoint |
|
yes, spa was using wrong endpoint |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-06-23 01:21 | sebasjm | New Issue | |
2025-06-23 01:21 | sebasjm | Relationship added | related to 0010120 |
2025-06-23 09:03 | schanzen | Note Added: 0025318 | |
2025-06-23 09:05 | schanzen | Note Added: 0025319 | |
2025-06-23 12:29 | sebasjm | Note Added: 0025320 | |
2025-06-23 12:29 | sebasjm | Assigned To | => sebasjm |
2025-06-23 12:29 | sebasjm | Status | new => assigned |
2025-06-23 14:21 | sebasjm | Status | assigned => resolved |
2025-06-23 14:21 | sebasjm | Resolution | open => fixed |
2025-06-23 14:21 | sebasjm | Note Added: 0025321 |