V14: login screen (#15932)
* remove the temp login screen * set login build back to esm * convert razor entrypoint to show new login screen * enable loading a user defined stylesheet that can be overridden through RCL mechanics * remove unused file * for now, remove the call to the old `localizedtext` endpoint until a replacement has been built * add fallback font * remove login to the old backoffice * change models for twoFactorView * Send view that have to be used for 2fa. * get 2fa providers from the login call directly * Return 2fa providers * map enabledTwoFactorProviderNames to the view * use correct endpoints for 2fa * Send link * change key to id in querystring * improve localization * merge authUrl * Added flow query parameter * remove unused getter * remove debug info * fix fallback value * fallback value * Added invite url to email * Clean up * Added password configuration to the verify responses, so the client knows, and have confirmed the user is allwed to see it * allow reset password * Allow anonymous on invite create password * open api * check for invite * fix fallback text * validate invite token * try to extract the problem details object * add error logging * fix invite user parameters * Use correct id for performing user * Allow password reset on yourself without the old password, if you are currently invited * hardcode the authorize endpoint url for now * fix handlers and disable icons for now * import icons from backoffice client * add backoffice path to icons * fix handler for 2fa custom view * update image temporarily * remove old icon registry * convert login components to UmbLitElement * convert `UmbAuthContext` into a real context with a token * cleanup dependencies * optimise vite * remove lit * optimise external login component loader * use generated resources for reset password * use generated resources for all methods * import and register the main bundle * register localization * change localization keys * update all localization keys to new format * replace tokens * copy code * added danish translations * convert to lowercase * all languages should have same weight * added german translations * add missing variable * missing text * added dutch translations * added swedish translations * added norwegian translations * add temporary fix so the login app can be built * make sure BuildLogin is run only after BuildBellissima has been run to ensure the dependencies are present on disk * run the real login build in pipelines * set vite language to en-us * optimise msw warnings * wait a bit before rendering the form so we know everything has been loaded * Add external login endpoint + move models around * Allow FORM submissions to the external login endpoint * rename `IdentityProvider` back to `Provider` to avoid a breaking change from V13 * type in url for login-external manually (for now) since route attributes are no longer a thing * move GET back to POST for external forms * load in public manifests on boot of the login screen * Clean up * handle the case where an external login provider has disabled local login and show a message instead of the login form * remove external login providers from the server login screen * add more translations * use the friendly greeting for the error layout * show login form * add mock handler for public manifest endpoint * remove the external login layout * fix test * Added generic English localization as a fallback language. --------- Co-authored-by: Bjarke Berg <mail@bergmania.dk> Co-authored-by: kjac <kja@umbraco.dk> Co-authored-by: leekelleher <leekelleher@gmail.com>
This commit is contained in:
@@ -1,27 +1,25 @@
|
||||
{
|
||||
"name": "login",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "tsc && vite build",
|
||||
"watch": "tsc && vite build --watch",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.8",
|
||||
"npm": ">=10.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.8",
|
||||
"npm": ">=10.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"lit": "^3.1.2",
|
||||
"msw": "^2.2.0",
|
||||
"rxjs": "^7.8.1"
|
||||
"msw": "^2.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@umbraco-ui/uui": "1.7.1",
|
||||
"@umbraco-ui/uui-css": "1.7.0",
|
||||
"@umbraco-ui/uui-css": "1.7.2",
|
||||
"typescript": "^5.3.3",
|
||||
"vite": "^5.1.1"
|
||||
"vite": "^5.2.2",
|
||||
"vite-tsconfig-paths": "^4.3.2"
|
||||
},
|
||||
"msw": {
|
||||
"workerDirectory": "public"
|
||||
|
||||
Reference in New Issue
Block a user