element-web/test/components/structures
Kerry 1d9c24e96e
OIDC: add friendly errors (#11184)
* add delegatedauthentication to validated server config

* dynamic client registration functions

* test OP registration functions

* add stubbed nativeOidc flow setup in Login

* cover more error cases in Login

* tidy

* test dynamic client registration in Login

* comment oidc_static_clients

* register oidc inside Login.getFlows

* strict fixes

* remove unused code

* and imports

* comments

* comments 2

* util functions to get static client id

* check static client ids in login flow

* remove dead code

* OidcRegistrationClientMetadata type

* navigate to oidc authorize url

* exchange code for token

* navigate to oidc authorize url

* navigate to oidc authorize url

* test

* adjust for js-sdk code

* login with oidc native flow: messy version

* tidy

* update test for response_mode query

* tidy up some TODOs

* use new types

* add identityServerUrl to stored params

* unit test completeOidcLogin

* test tokenlogin

* strict

* whitespace

* tidy

* unit test oidc login flow in MatrixChat

* strict

* tidy

* extract success/failure handlers from token login function

* typo

* use for no homeserver error dialog too

* reuse post-token login functions, test

* shuffle testing utils around

* shuffle testing utils around

* i18n

* tidy

* Update src/Lifecycle.ts

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* tidy

* comment

* update tests for id token validation

* move try again responsibility

* prettier

* add friendly error messages for oidc authorization failures

* i18n

* update for new translations, tidy

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-10-19 02:46:37 +00:00
..
__snapshots__ Render timeline separator for late event groups (#11739) 2023-10-16 14:14:04 +00:00
auth OIDC: register (#11727) 2023-10-11 21:44:46 +00:00
AutocompleteInput-test.tsx Conform more of the codebase to strictNullChecks (#10602) 2023-04-17 08:31:58 +01:00
ContextMenu-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
LargeLoader-test.tsx Start DM on first message (#8612) 2022-08-04 08:19:52 +02:00
LeftPanel-test.tsx Show filterContainer if "UIComponent.filterContainer" is enabled (#10381) 2023-03-21 09:06:43 +00:00
LegacyCallEventGrouper-test.ts Switch to importing @types/{event,partials} from main js-sdk export (#11369) 2023-08-08 10:12:12 +00:00
LoggedInView-test.tsx Fix: sync intentional mentions push rules with legacy rules (#11667) 2023-09-27 00:03:38 +00:00
MainSplit-test.tsx Allow maintaining a different right panel width for thread panels (#11064) 2023-06-15 11:57:58 +00:00
MatrixChat-test.tsx OIDC: add friendly errors (#11184) 2023-10-19 02:46:37 +00:00
MessagePanel-test.tsx Consume more imports from matrix-js-sdk/src/matrix (#11449) 2023-08-23 09:04:25 +00:00
PictureInPictureDragger-test.tsx Enable jsx-a11y/click-events-have-key-events eslint rule (#10362) 2023-08-09 06:27:31 +00:00
PipContainer-test.tsx Update Jest to more recent release (#11409) 2023-08-16 10:20:48 +00:00
RightPanel-test.tsx Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
RoomSearchView-test.tsx Switch to importing more things from the main js-sdk export (#11377) 2023-08-10 08:01:14 +00:00
RoomStatusBar-test.tsx Switch to importing more things from the main js-sdk export (#11376) 2023-08-09 15:10:54 +00:00
RoomStatusBarUnsentMessages-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
RoomView-test.tsx Update Jest to more recent release (#11409) 2023-08-16 10:20:48 +00:00
SpaceHierarchy-test.tsx Switch to importing most things from the main matrix-js-sdk export (#11406) 2023-08-15 15:00:17 +00:00
TabbedView-test.tsx Migrate more strings to translation keys (#11669) 2023-09-26 13:04:17 +01:00
ThreadPanel-test.tsx Remove focus-visible polyfill (#11677) 2023-09-28 11:52:26 +00:00
ThreadView-test.tsx Default intentional mentions (#11602) 2023-09-14 11:36:15 +00:00
TimelinePanel-test.tsx Consume more imports from matrix-js-sdk/src/matrix (#11449) 2023-08-23 09:04:25 +00:00
UploadBar-test.tsx Re-key all |zero-pluralised translations for Localazy compatibility (#11417) 2023-08-16 15:26:21 +00:00
UserMenu-test.tsx Replace broadcast instance with SDKContext (#9824) 2022-12-27 08:39:26 +01:00
ViewSource-test.tsx Align action_* strings with Element X project in Localazy (#11437) 2023-08-22 20:55:15 +01:00