View Issue Details

IDProjectCategoryView StatusLast Update
0010121Talermerchant backendpublic2025-08-31 17:10
Reportersebasjm Assigned Tosebasjm Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.0 stretch goals 
Target Version1.0 stretch goalsFixed in 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.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Relationships

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

Activities

schanzen

2025-06-23 07: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 07: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 10: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 12:21

developer   ~0025321

yes, spa was using wrong endpoint

Issue History

Date ModifiedUsernameFieldChange
2025-06-22 23:21sebasjmNew Issue
2025-06-22 23:21sebasjmRelationship addedrelated to 0010120
2025-06-23 07:03schanzenNote Added: 0025318
2025-06-23 07:05schanzenNote Added: 0025319
2025-06-23 10:29sebasjmNote Added: 0025320
2025-06-23 10:29sebasjmAssigned To => sebasjm
2025-06-23 10:29sebasjmStatusnew => assigned
2025-06-23 12:21sebasjmStatusassigned => informing
2025-06-23 12:21sebasjmResolutionopen => fixed
2025-06-23 12:21sebasjmNote Added: 0025321
2025-08-31 17:09Christian GrothoffStatusinforming => closed
2025-08-31 17:10Christian GrothoffFixed in Version => 1.0 stretch goals