@shellui/core 0.6.2 → 0.7.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/package.json +2 -2
  2. package/schemas/shellui.config.schema.json +116 -72
  3. package/src/app.tsx +2 -0
  4. package/src/components/ContentView.tsx +2 -22
  5. package/src/components/iframeUrlSafety.spec.ts +67 -0
  6. package/src/components/iframeUrlSafety.ts +50 -0
  7. package/src/features/auth/AuthProvider.tsx +24 -1
  8. package/src/features/auth/appBackend/AppBackendSessionHost.tsx +58 -0
  9. package/src/features/auth/appBackend/appBackendSessions.spec.ts +195 -0
  10. package/src/features/auth/appBackend/appBackendSessions.ts +292 -0
  11. package/src/features/auth/appBackend/configSchema.spec.ts +41 -0
  12. package/src/features/auth/appBackend/frameAuth.ts +167 -0
  13. package/src/features/auth/appBackend/identity.spec.ts +201 -0
  14. package/src/features/auth/appBackend/identity.ts +173 -0
  15. package/src/features/auth/appBackend/silentSignIn.spec.ts +207 -0
  16. package/src/features/auth/appBackend/silentSignIn.ts +240 -0
  17. package/src/features/auth/backends/shellui.spec.ts +51 -19
  18. package/src/features/auth/backends/shellui.ts +20 -5
  19. package/src/features/auth/backends/types.ts +7 -2
  20. package/src/features/auth/components/LoginView.tsx +40 -18
  21. package/src/features/auth/components/OAuthCallbackView.tsx +33 -4
  22. package/src/features/auth/utils/authRequestError.ts +3 -0
  23. package/src/features/auth/utils/buildOAuthSessionRedirectTo.spec.ts +42 -1
  24. package/src/features/auth/utils/buildOAuthSessionRedirectTo.ts +23 -0
  25. package/src/features/auth/utils/index.ts +14 -1
  26. package/src/features/auth/utils/loginCancelTarget.spec.ts +73 -0
  27. package/src/features/auth/utils/loginCancelTarget.ts +45 -0
  28. package/src/features/auth/utils/loginPanelFrame.spec.ts +24 -0
  29. package/src/features/auth/utils/loginPanelFrame.ts +14 -0
  30. package/src/features/auth/utils/webPkce.spec.ts +119 -0
  31. package/src/features/auth/utils/webPkce.ts +169 -0
  32. package/src/features/config/types.ts +41 -0
  33. package/src/features/settings/SettingsProvider.tsx +45 -32
  34. package/src/features/settings/utils/buildSettingsForPropagation.spec.ts +374 -0
  35. package/src/features/settings/utils/buildSettingsForPropagation.ts +61 -33
  36. package/src/i18n/translations/en/common.json +2 -0
  37. package/src/i18n/translations/fr/common.json +2 -0
  38. package/src/index.ts +1 -0
@@ -63,6 +63,8 @@
63
63
  "walletLoginFailed": "Impossible de terminer la connexion au portefeuille Ethereum.",
64
64
  "signInCouldNotContinue": "La connexion n'a pas pu se poursuivre.",
65
65
  "magicLinkStaffDisabled": "Les comptes staff ne peuvent pas se connecter avec un lien envoyé par e-mail. Connectez-vous avec votre méthode de connexion habituelle.",
66
+ "magicLinkOtherBrowser": "Ouvrez ce lien dans le navigateur où vous l'avez demandé, ou demandez-en un nouveau.",
67
+ "pkceFailed": "La connexion n'a pas pu être vérifiée. Recommencez la connexion depuis ce navigateur.",
66
68
  "magicLinkMethod": "lien magique",
67
69
  "redirectNotAllowedHint": " Ajoutez cette origine dans shellui-auth (admin Django ou shellui-admin → Company → Login redirect URLs), par exemple : {{origin}}."
68
70
  },
package/src/index.ts CHANGED
@@ -26,6 +26,7 @@ export type {
26
26
  LayoutType,
27
27
  BackendType,
28
28
  BackendConfig,
29
+ AppBackendConfig,
29
30
  AuthConfig,
30
31
  AdministrationConfig,
31
32
  StorageConfig,