View Issue Details

IDProjectCategoryView StatusLast Update
0006803Talermerchant portal webuipublic2021-08-24 14:23
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
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version0.8Fixed in Version0.8 
Summary0006803: application ask for the token twice when accessing the update page of the default instance
Descriptioncurrently, when login in, the app save the token under local storage with key `backend-token`

after clicking on the update icon in the instances list, it redirect to the settings page of the instance
since every instance may have different token, it use the token in the local storage with key `backend-token-$ID`

by design, `backend-token` and `backend-token-default` will be always the same.

it is safe to check if the instance == default then use backend-token instead of backend-token-$ID ?
Steps To ReproduceLogin into a backend with auth token, should ask for token
then click in default instance, should redirect to /instance/default/update
here, it will ask for token again
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Florian Dold

2021-03-10 21:16

manager   ~0017610

Yes, I think we can make it a hardcoded assumption that the named "default" instance always corresponds to the actual default instance.

sebasjm

2021-03-23 12:29

developer   ~0017636

solved, default instance use `backend-token`

Issue History

Date ModifiedUsernameFieldChange
2021-03-10 20:57sebasjmNew Issue
2021-03-10 20:57sebasjmStatusnew => assigned
2021-03-10 20:57sebasjmAssigned To => sebasjm
2021-03-10 21:16Florian DoldNote Added: 0017610
2021-03-23 12:29sebasjmNote Added: 0017636
2021-03-23 12:30sebasjmStatusassigned => informing
2021-03-23 12:30sebasjmResolutionopen => fixed
2021-03-23 12:30sebasjmFixed in Version => git (master)
2021-07-30 11:58Christian GrothoffFixed in Versiongit (master) => 0.8.1
2021-07-30 11:59Christian GrothoffTarget Version => 0.8.1
2021-07-30 12:01Christian GrothoffFixed in Version0.8.1 => 0.8
2021-07-30 12:01Christian GrothoffTarget Version0.8.1 => 0.8
2021-08-24 14:23Christian GrothoffStatusinforming => closed
2026-08-23 14:18Florian DoldCategorymerchant backoffice SPA => merchant portal webui