View Issue Details

IDProjectCategoryView StatusLast Update
0010121Talermerchant backendpublic2025-06-23 14:21
Reportersebasjm Assigned Tosebasjm  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.0 stretch goals 
Target Version1.0 stretch goals 
Summary0010121: should be able to change the instance password with the admin access token
Descriptionright 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
TagsNo tags attached.

Relationships

related to 0010120 resolvedsebasjm do not ask the admin for the current instance password to change to a new password 

Activities

schanzen

2025-06-23 09:03

administrator   ~0025318

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.

schanzen

2025-06-23 09:05

administrator   ~0025319

Sorry, this was incorrect, when changing the auth of another instance, you are supposed to use the management endpoint I think

sebasjm

2025-06-23 12:29

developer   ~0025320

ACK I see https://docs.taler.net/core/api-merchant.html#post--management-instances-$INSTANCE-auth

I will test it out with this endpoint

sebasjm

2025-06-23 14:21

developer   ~0025321

yes, spa was using wrong endpoint

Issue History

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