element-web/test/utils
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__
beacon
crypto
device Make existing and new issue URLs configurable (#10710) 2023-04-26 09:36:00 +00:00
dm
exportUtils
localRoom
location
media Conform more of the codebase to strictNullChecks (#11134) 2023-06-27 17:39:56 +01:00
oidc OIDC: Log in (#11199) 2023-07-11 04:09:18 +00:00
permalinks
room Don't setup keys on login when encryption is force disabled (#11125) 2023-06-27 09:42:31 +00:00
validate
AnimationUtils-test.ts
AutoDiscoveryUtils-test.tsx
DMRoomMap-test.ts
DateUtils-test.ts
ErrorUtils-test.ts
EventRenderingUtils-test.ts Eliminate the use of MatrixClientPeg in utils (#10910) 2023-05-23 16:24:12 +01:00
EventUtils-test.ts
Feedback-test.ts
FixedRollingArray-test.ts Fix jest/no-conditional-expect lint and enable it (#10307) 2023-03-07 13:58:10 +00:00
LruCache-test.ts
MegolmExportEncryption-test.ts Fix wrong room topic tooltip position (#10667) 2023-04-20 08:25:53 +00:00
MessageDiffUtils-test.tsx
MultiInviter-test.ts
SearchInput-test.ts
ShieldUtils-test.ts
Singleflight-test.ts
SnakedObject-test.ts
UrlUtils-test.ts
WidgetUtils-test.ts Add API params to mute audio and/or video in Jitsi calls by default (#10376) 2023-03-15 13:51:00 +01:00
arrays-test.ts
colour-test.ts
connection-test.ts
createVoiceMessageContent-test.ts
direct-messages-test.ts
enums-test.ts
export-test.tsx
generate-megolm-test-vectors.py
iterables-test.ts
leave-behaviour-test.ts Add MatrixClientPeg::safeGet and use it in tests (#10985) 2023-06-05 18:12:23 +01:00
local-room-test.ts
maps-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
membership-test.ts
notifications-test.ts
numbers-test.ts
objects-test.ts
pillify-test.tsx
rooms-test.ts
sets-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
stringOrderField-test.ts
threepids-test.ts Try to resolve emails before creating a DM (#10164) 2023-02-16 14:17:43 +01:00
tooltipify-test.tsx