Files
Umbraco-CMS/src/Umbraco.Web.UI.Client/.env

6 lines
359 B
Bash
Raw Normal View History

2022-05-18 13:13:55 +02:00
# Copy this to .env.local and change what you want to test.
2022-08-08 11:53:59 +02:00
VITE_UMBRACO_USE_MSW=on # on = turns on MSW, off = disables all mock handlers
Authentication using OpenID (#654) * 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>
2023-04-24 12:27:25 +02:00
VITE_UMBRACO_API_URL=https://localhost:44339
VITE_UMBRACO_INSTALL_STATUS=running # running or must-install or must-upgrade
VITE_UMBRACO_EXTENSION_MOCKS=off # on = turns on extension mocks, off = turns off extension mocks