Quentin Gliech
fd4481713b
Allow running the authentication service on a different base path
2023-10-06 14:07:55 +02:00
Quentin Gliech
49a4ff7899
router: fix a test in the url builder because a field changed name
2023-10-05 19:29:23 +02:00
Quentin Gliech
0d69e42021
templates: translate a lot more stuff
2023-10-05 19:29:23 +02:00
Quentin Gliech
20d7770011
Add a way to discover the GraphQL endpoint in the .well-known/openid-configuration
...
This adds a `org.matrix.matrix-authentication-service.graphql_endpoint` key to it
2023-10-05 16:43:13 +02:00
Kerry
5a8f05e518
Implement MSC2965 action parameter ( #1673 )
...
* redirect session_end action to session detail
* fix react key warning in oauth session detail
* move Route type to /routing
* test getRouteActionRedirection
* comment
* frontend: Split the routing-related stuff in multiple files under routing/
* frontend: Cover all the redirections defined by MSC2965
* frontend: fix test
* Make the backend keep query parameters through login to the /account/ interface
* Fix frontend tests & clippy lints
---------
Co-authored-by: Quentin Gliech <quenting@element.io >
2023-09-01 09:42:50 +00:00
Quentin Gliech
f81899b72c
Allow a trailing slash on the compat SSO route
2023-08-08 19:23:07 +02:00
Quentin Gliech
82afe9471c
Better frontend assets handling and move the react app to /account/ ( #1324 )
...
This makes the Vite assets handling better, namely:
- make it possible to include any vite assets in the templates
- include the right `<link rel="preload">` tags for assets
- include Subresource Integrity hashes
- pre-compress assets and remove on-the-fly compression by the Rust server
- build the CSS used by templates through Vite
It also moves the React app from /app/ to /account/, and remove some of the old SSR account screens.
2023-07-06 15:30:26 +02:00
Quentin Gliech
439e51ca80
Allow setting a different issuer from the public base URL
2023-06-27 12:53:15 +02:00
Quentin Gliech
36cae34f4c
Support for token revocation
2023-02-21 12:06:30 +01:00
Quentin Gliech
79d72b9123
ci: Update clippy to 1.66 and fix new warnings
2022-12-16 18:16:18 +01:00
Quentin Gliech
1674996a6a
router: fix tests
2022-12-08 15:29:15 +01:00
Quentin Gliech
84f86c7230
template: more cleanups
2022-12-08 15:29:15 +01:00
Quentin Gliech
944f44792e
Save the post auth action during upstream OAuth login
2022-12-05 19:39:51 +01:00
Quentin Gliech
d1ce3628a6
Tidy up upstream linking templates
2022-12-05 19:39:51 +01:00
Quentin Gliech
19f5e2d417
WIP: handle account linking
2022-12-05 19:39:51 +01:00
Quentin Gliech
28704ab473
WIP: upstream OIDC provider support
2022-12-05 19:39:51 +01:00
Quentin Gliech
c1aad59e18
Do not embed the templates and static files in the binary
2022-11-18 22:37:55 +01:00
Quentin Gliech
9ad66ed94d
Database refactoring
2022-11-02 18:59:00 +01:00
Quentin Gliech
c7ac62f0ba
Mount the static assets on /assets
2022-10-17 11:39:45 +02:00
Quentin Gliech
9ff782f0a0
Remove double must_use
2022-09-13 11:38:49 +02:00
Quentin Gliech
c1adcd6690
Enable the clippy::str_to_string lint
2022-08-08 10:06:20 +02:00
Quentin Gliech
779ee82fa6
Bump serde_with
2022-08-01 19:38:22 +02:00
Hugh Nimmo-Smith
1b0009a682
Use unstable prefix for SSO redirect action param
2022-06-23 17:08:28 +02:00
Hugh Nimmo-Smith
acbca0f5c2
feat: support for MSC3824 action param on SSO redirect ( #248 )
...
Co-authored-by: Quentin Gliech <quenting@element.io >
2022-06-14 11:34:56 +00:00
Quentin Gliech
966d2ecff5
Add an email field in the registration form
2022-06-02 16:18:55 +02:00
Quentin Gliech
f3f96058b8
Make email verification mandatory
2022-06-02 16:18:55 +02:00
Quentin Gliech
4459c04f6d
Switch email verification to a code-based flow
2022-06-02 16:18:55 +02:00
Quentin Gliech
9a989edd79
Legacy login via m.login.sso
2022-05-23 10:42:25 +02:00
Quentin Gliech
3b2eca9e39
Handle legacy /refresh
2022-05-19 10:17:49 +02:00
Quentin Gliech
fb051eb2f4
Handle legacy /logout
2022-05-19 10:17:49 +02:00
Quentin Gliech
f27954375a
WIP: Handle /login
2022-05-19 10:17:49 +02:00
Quentin Gliech
7919502397
Add password change discovery
...
See https://web.dev/change-password-url/
2022-05-12 15:06:37 +02:00
Quentin Gliech
5b866ab87e
Have a unified URL builder/router
2022-05-10 09:52:48 +02:00