token-negotiator
token-negotiator copied to clipboard
TN caches attestation config
TN 2.6.0 caches attestation config and doesn't update it when config changes
steps to reproduce:
-
start TN with issuer1 : https://devcon-vi.attest.tickets/devcon6.js
-
update TN issuer to issuer2 : https://stage-perks.smarttokenlabs.com/shanghai_token_demo.js
page still display issuer1
problem solves when I remove LocalStorage variable "tn-tokenStore"
@nicktaras , it happened because of same collectionID, but does it worth to cache data, what already downloaded? Maybe better disable option to cache config?