* feat: resolve TODO by removing quiet option
* feat: exclude ./src/mocks from production build
* feat: load only msw when running through vite
* feat: optimise load order
* feat: handles mocked logos with virtual path
* feat: loads mocked service worker from virtual path
* feat: loads assets from virtual path
* feat: forces MSW=on for the static build
* build: adds storybook workflow copied over from the old backoffice repository
* build: limits where the build runs
* build: adds workflow to build a static version of the backoffice upon request
* build: excludes the `/umbraco/backoffice/assets` folder from navigation fallback just in case
* build: triggers run when the workflow file itself changes
* build: triggers run when package.json changes
* build: marks the 'contrib' branch as production
* build: activates static builds on preview/* labels
* build: bumps github checkout version
* build: updates key for backoffice web app
* build: updates key for storybook
* build: disables build for release branches to preseve on preview environments
* install app auth
* add service to handle auth
* add openid handling to general app
* move props to constructor
* update default api url to https
* add support for adjusting umbracoUrl from outside
* use origin url for redirect if empty from env
* merge origin/main
* merge origin/main
* add redirect uri support
* only check auth on firstUpdated
* merge origin/main
* fix redirect_uri
* listen for auth-success events before anything else
* save current route to restore after login
* set token function for all OpenAPI requests
* include credentials after login
* update openapi-typescript-codegen
* generate new models with bugfixes for CancelablePromise and request
* remove auth-success event
* wait with fetchServiceConfiguration until we actually need to query the server
* revert change where service configuration was delayed
* use LocalStorageBackend to save/restore token state
* improve documentation
* cleanup todos
* improve docs
* update documentation and set everything to private fields
* remove undefined
* add a token to provide server url
* add more docs
* provide the base url of the server through a token
* add more docs
* fix import
* allow to override the backoffice base url through a property
* use private modifier
* duplicate login image
* make generic error element to use as error page
* check for initialisation errors and show error page if necessary
* rename class to UmbAuthFlow
* control the notification manually with runtime status call
* add styling
* add stack to problemdetails
* forward all errors
* support problemdetails rendering
* allow passthrough without a token
* move error logic to function
* add support for BOOT_FAILED and default errors
* rename background img
* remove false character
* check for isMocking to simplify auth flow
* add support for generic ApiErrors
* make sure all errors from api controllers are ApiError or CancelError to be able to fine-tune the handling of them
* remove unused legacy method
* show notifications (for now) after session expiration
* break early on CancelErrors
* revert options argument
* remove login token after a 401 is detected
* catch api errors
* prefix class with Umb
* throw errors instead of using ProblemDetailsModel
* add TODO
* add TODO
---------
Co-authored-by: Mads Rasmussen <madsr@hey.com>
* add new variable to hold the url to the local umbraco instance
* set api base-url if msw is turned off
* add instructions how to use local umbraco instance
* set baseurl for e2e mode
Co-authored-by: Mads Rasmussen <madsr@hey.com>