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__
auth
AutocompleteInput-test.tsx
ContextMenu-test.ts
LargeLoader-test.tsx
LeftPanel-test.tsx
LegacyCallEventGrouper-test.ts
LoggedInView-test.tsx
MainSplit-test.tsx
MatrixChat-test.tsx OIDC: Log in (#11199) 2023-07-11 04:09:18 +00:00
MessagePanel-test.tsx
PictureInPictureDragger-test.tsx
PipContainer-test.tsx
RightPanel-test.tsx
RoomSearchView-test.tsx
RoomStatusBar-test.tsx
RoomStatusBarUnsentMessages-test.tsx
RoomView-test.tsx
SpaceHierarchy-test.tsx
TabbedView-test.tsx
ThreadPanel-test.tsx
ThreadView-test.tsx
TimelinePanel-test.tsx
UserMenu-test.tsx
ViewSource-test.tsx