element-web/test/components/structures
Kerry 7b3d0ad209
OIDC: Log in (#11199)
* 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

* use more future proof config for static clients

* test util for oidcclientconfigs

* rename type and lint

* correct oidc test util

* store issuer and clientId pre auth navigation

* adjust for js-sdk changes

* update for js-sdk userstate, tidy

* update MatrixChat tests

* update tests

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-07-11 04:09:18 +00:00
..
__snapshots__ Limit width of user menu in space panel (#11192) 2023-07-05 22:00:03 +00:00
auth Conform more of the codebase to strict types (#11191) 2023-07-05 11:53:22 +01: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 Add MatrixClientPeg::safeGet and use it in tests (#10985) 2023-06-05 18:12:23 +01:00
LoggedInView-test.tsx Conform more of the codebase to strictNullChecks (#10731) 2023-04-28 09:45:36 +01: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: Log in (#11199) 2023-07-11 04:09:18 +00:00
MessagePanel-test.tsx Use MatrixClientPeg::safeGet for strict typing (#10989) 2023-06-21 17:29:44 +01:00
PictureInPictureDragger-test.tsx Add PiP move threshold (#10040) 2023-02-01 13:55:10 +01:00
PipContainer-test.tsx Add MatrixClientPeg::safeGet and use it in tests (#10985) 2023-06-05 18:12:23 +01:00
RightPanel-test.tsx Add MatrixClientPeg::safeGet and use it in tests (#10985) 2023-06-05 18:12:23 +01:00
RoomSearchView-test.tsx Add MatrixClientPeg::safeGet and use it in tests (#10985) 2023-06-05 18:12:23 +01:00
RoomStatusBar-test.tsx Add MatrixClientPeg::safeGet and use it in tests (#10985) 2023-06-05 18:12:23 +01:00
RoomStatusBarUnsentMessages-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
RoomView-test.tsx Fix RoomView ignoring alias lookup errors due to them not knowing the roomId (#11099) 2023-06-19 17:08:16 +01:00
SpaceHierarchy-test.tsx Conform more code to strictNullChecks and noImplicitAny (#11156) 2023-06-28 14:05:36 +01:00
TabbedView-test.tsx Use generics to better type TabbedView (#10726) 2023-04-27 12:55:29 +01:00
ThreadPanel-test.tsx Add MatrixClientPeg::safeGet and use it in tests (#10985) 2023-06-05 18:12:23 +01:00
ThreadView-test.tsx Add MatrixClientPeg::safeGet and use it in tests (#10985) 2023-06-05 18:12:23 +01:00
TimelinePanel-test.tsx Fix TimelinePanel-test over-driving Thread model into compliance (#11198) 2023-07-07 09:48:06 +01:00
UserMenu-test.tsx Replace broadcast instance with SDKContext (#9824) 2022-12-27 08:39:26 +01:00
ViewSource-test.tsx Fix error when viewing source of redacted events (#9914) 2023-01-15 16:22:59 +00:00