Ajay Bura
d34a6cdf0e
Pass missing oidc api client configs
2022-08-18 17:07:00 +05:30
Ajay Bura
c23039894f
Fix bug & move oidc clientConfigs to app configs
2022-08-18 17:05:04 +05:30
Ajay Bura
220ddc7175
Fix merge conflict
2022-08-09 14:23:40 +05:30
Ajay Bura
076a899b66
Merge branch 'sandhose/oidc-login' into aj-oidc
2022-08-09 12:02:54 +05:30
Hugh Nimmo-Smith
d7a8714928
Merge branch 'sandhose/oidc-login' of https://github.com/sandhose/hydrogen-web into sandhose/oidc-login
2022-08-03 17:24:38 +01:00
Hugh Nimmo-Smith
34627f498f
Use unstable OIDC scope names
2022-08-03 17:18:30 +01:00
Quentin Gliech
f7ffae4576
Fix typing and tests
2022-08-01 16:55:05 +02:00
Hugh Nimmo-Smith
30d97d6f41
Link out to OIDC account management URL if available
2022-08-01 16:55:05 +02:00
Hugh Nimmo-Smith
887c3d4f89
Actually make SessionLoadViewModel.logout do something
2022-08-01 16:55:05 +02:00
Hugh Nimmo-Smith
87bbba0253
Improve error handling for OIDC discovery and registration
2022-08-01 16:55:04 +02:00
Hugh Nimmo-Smith
fa5ef2795a
fix: hide OIDC button when not in use
2022-08-01 16:55:04 +02:00
Hugh Nimmo-Smith
19c0a2949b
Try to improve error message on no login method available
2022-08-01 16:55:04 +02:00
Hugh Nimmo-Smith
391e696bed
Request urn:matrix:api:* scope for OIDC
2022-08-01 16:55:04 +02:00
Quentin Gliech
4b1cc8d645
Make hydrogen generate the device scope
2022-08-01 16:55:04 +02:00
Quentin Gliech
7aa7af4adf
Add client_uri, tos_uri and policy_uri client metadata
2022-08-01 16:55:03 +02:00
Quentin Gliech
b899b347b6
OIDC dynamic client registration
2022-08-01 16:55:03 +02:00
Quentin Gliech
d18f48b73c
Typo.
2022-08-01 16:55:03 +02:00
Quentin Gliech
d5b5c371b4
Use platform APIs for text encoding and hashing
2022-08-01 16:55:03 +02:00
Quentin Gliech
8fbff2fd07
Simplify OIDC callback navigation handling
2022-08-01 16:55:03 +02:00
Quentin Gliech
bbfa6de6dc
Generate the OIDC redirect URI from the URLRouter
...
This also saves the redirectUri during the flow
2022-08-01 16:55:03 +02:00
Quentin Gliech
4b07f04843
Only generate the auth URL and start the login flow on click
2022-08-01 16:55:03 +02:00
Quentin Gliech
9606de2e0f
Native OIDC login
2022-08-01 16:55:03 +02:00
Hugh Nimmo-Smith
3dc4a4c690
Link out to OIDC account management URL if available
2022-07-31 17:17:00 +01:00
Hugh Nimmo-Smith
a0ee8a9607
Actually make SessionLoadViewModel.logout do something
2022-07-31 10:06:01 +01:00
Bruno Windels
fdefea5b88
Merge branch 'master' into ts-conversion-domain-navigation
2022-07-29 16:18:22 +02:00
Bruno Windels
b6f795505d
fix lint
2022-07-29 12:21:16 +02:00
Kaki In
09bc77073b
Merge branch 'vector-im:master' into restore_last
2022-07-29 12:06:49 +02:00
Bruno Windels
224ab2672a
Merge pull request #809 from Kaki-In/implement-join
...
Implemented /join
2022-07-29 10:03:18 +00:00
Kaki In
f512bfcfc1
Pretty syntaxed the RoomViewModel
2022-07-29 11:47:47 +02:00
Bruno Windels
d3e93196e3
Merge pull request #777 from ibeckermayer/ibeckermayer/ts-conversion-loginviewmodel
...
TS conversion for `LoginViewModel`
2022-07-29 09:27:10 +00:00
Kaki In
f5dacb4e42
Fixed last check
2022-07-28 10:26:59 +02:00
Kaki In
302131c447
Review last checks
2022-07-28 10:14:21 +02:00
Kaki In
fb79326747
Forgot one change
2022-07-28 09:26:08 +02:00
Kaki In
3c64f7d49b
Finals checks about https://github.com/vector-im/hydrogen-web/pull/809#pullrequestreview-1053501341
...
- joined the processJoinRoom and joinRoom methods;
- fixed some precisions miss;
- removed some useless code;
- change the error message height from absolute (40px) to relative (auto)
2022-07-28 09:23:30 +02:00
Isaiah Becker-Mayer
a82df95b82
marking private methods as such
2022-07-27 22:09:30 -07:00
Isaiah Becker-Mayer
cadca70946
fixes linter errors and removes some unneeded async/await
2022-07-27 22:09:30 -07:00
Isaiah Becker-Mayer
8b91d8fac8
adds newline
2022-07-27 22:09:30 -07:00
Isaiah Becker-Mayer
a5b9cb6b95
removes unnecessary awaits
2022-07-27 22:09:30 -07:00
Isaiah Becker-Mayer
aeed978789
changes signature of emitChange to require changedProps
2022-07-27 22:09:30 -07:00
Isaiah Becker-Mayer
7b7b19476c
updates some signatures to be more verbose, fixes wrong type for attemptLogin
2022-07-27 22:09:30 -07:00
Isaiah Becker-Mayer
ad0bd82bda
creating default exports
2022-07-27 22:09:30 -07:00
Isaiah Becker-Mayer
d7657dcc4d
first draft of fully typescriptified LoginViewModel.ts
2022-07-27 22:09:30 -07:00
Kaki In
176caf340f
Placed the join command outside of the processCommand method
2022-07-27 16:42:44 +02:00
Kaki In
a40bb59dc0
Some fixes :
...
- fixed a pretty syntax miss (a !== b);
- fixed a type error : replaced "msgtype" by "type" when instantied the "messinfo" variable;
- some indentation fixes
2022-07-27 16:36:58 +02:00
Kaki In
ab64ce02b2
Separated the _processCommand and the joinRoom command
...
- renamed executeJoinCommand as joinRoom;
- separated the joinRoom process and the parse and result process
2022-07-27 15:18:32 +02:00
Kaki In
550b9db4dc
Separated the join instructions into a executeJoinCommand method
2022-07-27 12:21:00 +02:00
Kaki In
f9f49b7640
Fixed an error and improving css
...
If the /join command success, an error was thrown, because of a copy-pasted command not well integrated
The button of the error on "theme.css" contains now an unicode cross. The :after/:before cross was disformed when opening the room informations.
2022-07-26 14:48:03 +02:00
Kaki In
09fd1a5113
Use "args.join" instead of "message.substring"
...
into RoomViewModel._processCommands
2022-07-26 10:37:05 +02:00
Kaki In
adfecf0778
Fix restoring the last url at start
...
The last session url is now remembered for being restored at the beginning of the session. Thanks for the help of @bwindels
2022-07-26 10:02:20 +02:00
Kaki In
1e5179f835
- Application des différents commentaires du Pull Request ( #809 )
...
- Correction des erreurs d'indentations.
2022-07-25 15:22:06 +02:00