View Issue Details

IDProjectCategoryView StatusLast Update
0010108Talermerchant portal webuipublic2025-08-31 17:10
ReporterChristian Grothoff 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
PriorityhighSeverityblockReproducibilityalways
Status closedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Version1.0 
Target Version1.0 stretch goalsFixed in Version1.0 stretch goals 
Summary0010108: customer unable to extract authorization token for WooCommerce integration
DescriptionThe SPA currently does not offer a nice way to show/extract/expose/create authorization tokens needed to hook up PoS apps or E-commerce integrations like WooCommerce. We need to have an "Access" menu in the main navigation where the user can
- view access tokens they have issued
- revoke access tokens
- create new access tokens by specifying a name (for the above), scope and expiration (incl. never).
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

The plan

IDSummaryStatusAssigned ToEstimated effort (hours)
0010159merchant backend should return list of tokens closedsebasjm
0010171doesnt return new tokens after creating one closedschanzen
0010173cant add description in the token info closedschanzen
This issue (hours)
Its children (hours)0
Together (hours)0
Nothing is missing: the plan can be finished.

Relationships

related to 0009644 implementing bank ui should support listing and revoking tokens 
related to 0010118 closedschanzen merchant backend should have API to list and revoke access tokens 
parent of 0010159 closedsebasjm merchant backend should return list of tokens 
parent of 0010171 closedschanzen doesnt return new tokens after creating one 
parent of 0010173 closedschanzen cant add description in the token info 

Activities

sebasjm

2025-06-16 11:29

developer   ~0025254

I can start working on the SPA but we need one more endpoint in merchant backend for listing tokens. We should use the bank impl as reference https://docs.taler.net/core/api-corebank.html#authentication

Christian Grothoff

2025-06-16 11:32

manager   ~0025255

Yes, I know. We'll try to provide such an endpoint ASAP. Martin: if you have time to spec and/or implement it great, otherwise I'll eventually get to it ;-).

schanzen

2025-06-24 20:31

administrator   ~0025352

I added the listing endpoint according to the bank API but that API does not return the token itself. So now the API I created in 0010118 also does not return the token.
My guess: We need another endpoint to get the token value by token serial, or return it in the token list itself.
(We will accordingly then deviate from the Bank API again, which will either have to follow suit, or be different)

sebasjm

2025-06-24 23:13

developer   ~0025358

Last edited: 2025-06-25 12:31

for clarification, the token VALUE must not be returned by the endpoint in any time... i consider this a security issue.

usually when a token is created the user should save the string value or loose access to it forever, because the backend will not expose it again.
the "LIST tokens" feature is to be able to check how many token active there are and delete unused/old ones (that's why creation time, last use time and description are good for... may also scope is interesting to revoke the most dangerous ones)

in the use case of woo commerece, if the user needs one token to do the integration with the backend then the SPA should have the functionality to create a new token and add a description. that should be enough

Christian Grothoff

2025-06-29 08:18

manager   ~0025376

I'm OK with the token only being returned the first time upon creation. I still think the SERVER should create the token, as that way we can more safely ensure it is a high-entropy token.

sebasjm

2025-07-09 14:42

developer   ~0025464

after f61a65488..b9539673a the merchant can go into the new "active session" section in the side bar which will show the current access tokens with description, scope and expiration. Is listing will allow the user to remove access to previously shared tokens.

Here the merchant can also create new access token, the token will be shown once, suggest to copy and save the token.

sebasjm

2025-07-09 15:01

developer   ~0025465

I will keep this open until we fixed the two issues on the merchant backend and I can test both things working together

sebasjm

2025-08-25 17:46

developer   ~0025695

child issues are fixed and works ok with SPA

Issue History

Date ModifiedUsernameFieldChange
2025-06-16 08:45Christian GrothoffNew Issue
2025-06-16 08:45Christian GrothoffStatusnew => assigned
2025-06-16 08:45Christian GrothoffAssigned To => sebasjm
2025-06-16 11:29sebasjmNote Added: 0025254
2025-06-16 11:32Christian GrothoffNote Added: 0025255
2025-06-24 20:27schanzenRelationship addedrelated to 0009644
2025-06-24 20:28schanzenRelationship addedrelated to 0010118
2025-06-24 20:31schanzenNote Added: 0025352
2025-06-24 23:13sebasjmNote Added: 0025358
2025-06-24 23:15sebasjmAssigned Tosebasjm => Christian Grothoff
2025-06-24 23:15sebasjmStatusassigned => feedback
2025-06-25 12:31sebasjmNote Edited: 0025358
2025-06-29 08:18Christian GrothoffNote Added: 0025376
2025-06-29 08:19Christian GrothoffAssigned ToChristian Grothoff => sebasjm
2025-06-29 08:19Christian GrothoffStatusfeedback => assigned
2025-07-08 15:25sebasjmRelationship addedparent of 0010159
2025-07-09 14:42sebasjmNote Added: 0025464
2025-07-09 14:56sebasjmRelationship addedparent of 0010171
2025-07-09 14:59sebasjmRelationship addedparent of 0010173
2025-07-09 15:00sebasjmStatusassigned => implementing
2025-07-09 15:01sebasjmNote Added: 0025465
2025-07-29 22:44Christian GrothoffTarget Version1.1 => 1.5
2025-08-25 17:46sebasjmStatusimplementing => informing
2025-08-25 17:46sebasjmResolutionopen => fixed
2025-08-25 17:46sebasjmNote Added: 0025695
2025-08-28 18:06Christian GrothoffProduct Versiongit (master) => 1.0
2025-08-28 18:06Christian GrothoffTarget Version1.5 => 1.0 stretch goals
2025-08-31 17:09Christian GrothoffStatusinforming => closed
2025-08-31 17:10Christian GrothoffFixed in Version => 1.0 stretch goals
2026-08-23 14:18Florian DoldCategorymerchant backoffice SPA => merchant portal webui