Commit Graph

36 Commits

Author SHA1 Message Date
Quentin Gliech
fd4481713b Allow running the authentication service on a different base path 2023-10-06 14:07:55 +02:00
Quentin Gliech
13f88aae5e templates: fix the error.html template when missing the locale 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
a7c5874c59 templates: more translations 2023-10-05 19:29:23 +02:00
Quentin Gliech
16481bc81a i18n: include context when looking for translation keys 2023-10-05 19:29:23 +02:00
Quentin Gliech
ad8cc6be9e templates: add translations function 2023-10-05 19:29:23 +02:00
Quentin Gliech
8960d1702f templates: replace tera with minijinja 2023-10-05 19:29:23 +02:00
Quentin Gliech
02dcb7b2d2 Display the client logo with a referrerpolicy set to "no-referrer"
Fixes #1768
2023-09-20 18:01:58 +02:00
Quentin Gliech
d36f9d3a5a frontend: have better margins everywhere 2023-09-15 18:41:39 +02:00
Quentin Gliech
cb6d89e308 Compoundify the consent screens 2023-09-06 15:58:54 +02:00
Quentin Gliech
8d75280c28 Fix a grammar mistake on the consent page template 2023-09-06 09:29:36 +02:00
Quentin Gliech
92528f361e Compoundify the inputs 2023-09-01 15:57:13 +02:00
Quentin Gliech
2bbd0d2292 Compoundify the templates 2023-09-01 15:57:13 +02:00
Hugh Nimmo-Smith
c49b757bc5 Nor does it have extrabold 2023-09-01 15:22:42 +02:00
Hugh Nimmo-Smith
4eea6ca1cc Compound doesn't have a value for bold so use semibold instead 2023-09-01 15:22:42 +02:00
Hugh Nimmo-Smith
d3df659640 Standardise consent screens (#1674) 2023-09-01 13:19:33 +01:00
Quentin Gliech
33480bd98b Simplify the URL displayed on compatibility SSO logins
See #1638
2023-08-31 10:54:29 +02:00
Quentin Gliech
38eacbebc1 Run the registration policy on upstream OAuth registration 2023-08-30 19:39:39 +02:00
Quentin Gliech
53f45f591c Skip the "continue" screens on upstream IDP logins for new accounts 2023-08-25 10:56:10 +02:00
Hugh Nimmo-Smith
c5fce66142 Add scope descriptions for MAS permissions 2023-08-23 18:59:05 +02:00
Hugh Nimmo-Smith
6c7590c910 Display sensible scope descriptions for client and Synapse admin permissions
Fixes #1570
2023-08-23 18:59:05 +02:00
Quentin Gliech
863cd74207 Add a 404 HTMl fallback 2023-08-09 16:56:11 +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
43e2fc961d Fix the upstream oauth registration form 2023-06-30 11:24:26 +02:00
Quentin Gliech
791dad7efd Save the imported attributes 2023-06-26 17:24:56 +02:00
Quentin Gliech
3c29d998fe Ground work to import upstream OIDC claims on registration. 2023-06-26 17:24:56 +02:00
Quentin Gliech
5d14582686 Make password-based login optional 2023-05-23 17:02:02 +02:00
Quentin Gliech
99e05b4a4f Fix the authorization grant template
It previously relied on the client being in the authorization grant,
which is not the case anymore. This commit also adds a test to ensure
we're not breaking this template in the future.
2023-01-31 16:50:48 +01:00
Quentin Gliech
84f86c7230 template: more cleanups 2022-12-08 15:29:15 +01:00
Quentin Gliech
2c32ff4917 data-model: simplify users and sessions 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
ecf7fd7018 WIP: Provider list on the login page 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
6aca90e4d9 OIDC account linking and login 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
c1aad59e18 Do not embed the templates and static files in the binary 2022-11-18 22:37:55 +01:00