Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Remove unnecessary bootstrap calls #1834

Open
Tracked by #1806
birtony opened this issue Aug 4, 2022 · 0 comments
Open
Tracked by #1806

Remove unnecessary bootstrap calls #1834

birtony opened this issue Aug 4, 2022 · 0 comments
Labels
area: UI Something related to UI type: enhancement New feature or request

Comments

@birtony
Copy link
Contributor

birtony commented Aug 4, 2022

Once trustbloc/auth#282 and trustbloc/agent-sdk#392 are completed, we should update our logic to avoid making unnecessary calls to bootstrap endpoint. Wallet should only call it when requestAccess() or continue() return a corresponding flag that indicates that the user had already been registered in the system before. In this case, we'd need to fetch bootstrap data to pass it to agent opts. Once agent is initialized and posted to bootstrap successfully, it would return bootstrap data to wallet directly with the implemented JS binding.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: UI Something related to UI type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant