Commit Graph

4834 Commits

Author SHA1 Message Date
Ajay Bura
59853ebf11 add loginMethod along with oidc in queryLogin 2022-08-16 15:45:00 +05:30
Ajay Bura
7ba2f26624 setup oidc for thirdroom 2022-08-10 19:53:18 +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
30bb3fa59b
Fix the runtime config template to include the default theme 2022-08-01 17:01:25 +02: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
1482ba24bf
Use valid length of code_verifier 2022-08-01 16:55:05 +02:00
Hugh Nimmo-Smith
4fcbd3bf20
Support statically configured OIDC clients 2022-08-01 16:55:05 +02:00
Hugh Nimmo-Smith
5296ba1d8a
Ask OP to revoke tokens on logout 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
83843f62b1
Handle case of issuer field not ending with / 2022-08-01 16:55:04 +02:00
Hugh Nimmo-Smith
da922220e2
Handle case of OIDC Provider not returning supported_grant_types 2022-08-01 16:55:04 +02:00
Hugh Nimmo-Smith
dd14f13d2c
Use primary styling for OIDC login button 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
Hugh Nimmo-Smith
154bae239a
Rename OIDC login button to Continue 2022-08-01 16:55:04 +02:00
Hugh Nimmo-Smith
2e24685a5f
Use unstable prefix for MSC2965 issuer discovery 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
29d32a23fe
Stop the token refresher when disposing the client 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
Quentin Gliech
6ebb058e59
Make the Docker image configurable at runtime 2022-08-01 16:54:25 +02:00
Quentin Gliech
4728b10382
Update the documentation to reference the published docker image 2022-08-01 16:53:54 +02:00
Quentin Gliech
d753442aeb
Build and push multi-arch Docker images in CI 2022-08-01 16:53:54 +02:00
Quentin Gliech
1883aef253
Use non-root nginx base in Docker image 2022-08-01 16:53:54 +02:00
Quentin Gliech
eec3157c54
Multi-arch capable Dockerfile 2022-08-01 16:53:53 +02:00
Bruno Windels
97391663d3 sdk version 0.1.0 2022-08-01 14:32:26 +02:00
R Midhun Suresh
7d3f22c106
Merge pull request #824 from vector-im/fix-dev-server-1
Fix develop server breaking due to import syntax
2022-08-01 17:29:52 +05:30
RMidhunSuresh
832597447a Add explaining doc 2022-08-01 17:01:36 +05:30
RMidhunSuresh
236a4ab49b Ignore error 2022-08-01 17:01:36 +05:30
RMidhunSuresh
ba8cdea6b4 Use default import if other not found 2022-08-01 17:01:36 +05:30
RMidhunSuresh
ef9f90bc36 Fix imports breaking on dev 2022-08-01 17:01:36 +05:30
R Midhun Suresh
67e94bd642
Merge pull request #825 from vector-im/fix-sdk-fail-1
Fix sdk build failing after derived theme implementation
2022-08-01 16:17:09 +05:30
R Midhun Suresh
f7839135a4
Merge pull request #823 from vector-im/fix-tmp-dir
Fix .tmp being created in `/`
2022-08-01 16:16:35 +05:30
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
RMidhunSuresh
4571ecd851 Specify theme as array 2022-07-29 23:45:58 +05:30
RMidhunSuresh
5091090795 Produce .tmp directory within root 2022-07-29 23:11:17 +05:30
Bruno Windels
db2b4e693c release v0.3.0 2022-07-29 17:10:24 +02:00