flowfuse icon indicating copy to clipboard operation
flowfuse copied to clipboard

Extract check user functionality into boot.service

Open gstout52 opened this issue 2 months ago • 0 comments

Parent issue: #6254

Description

Extract the check user functionality into the boot.service from the account store's checkState method

Tasks

  • [ ] Extract the check user functionality into the boot.service from the account store's checkState method
  • [ ] Include platform hydration as well as boot step
  • [ ] Include team hydration as well
  • [ ] Add app loading state until boot completed
  • [ ] Note: for the time being only check if the user is authenticated if the app is opened in a new tab by the a third party to ensure we have a user before we start the app. This currently causes a double api call because of the same logic being present in the checkState method in the account store. Slowly but surely we'll have to migrate the account store to use this bootstrapper service and extend the platform checks and team hydration to use this service as well.

Related Issues

  • Parent: #6254

gstout52 avatar Nov 07 '25 15:11 gstout52