Quentin Gliech
7ce0d894f7
Perform some checks on the redirectUrl
2022-05-23 10:42:25 +02:00
Quentin Gliech
1d61a94da4
Have a consent screen before continuing the SSO login
2022-05-23 10:42:25 +02:00
Quentin Gliech
033d60eb73
Legacy login via m.login.sso
2022-05-23 10:42:25 +02:00
dependabot[bot]
8e731c49d9
Bump axum-extra from 0.3.2 to 0.3.3
...
Bumps [axum-extra](https://github.com/tokio-rs/axum ) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/tokio-rs/axum/releases )
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/axum/compare/axum-extra-v0.3.2...axum-extra-v0.3.3 )
---
updated-dependencies:
- dependency-name: axum-extra
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-19 10:22:57 +02:00
Quentin Gliech
0fcecfa7fb
Handle legacy /refresh
2022-05-19 10:17:49 +02:00
Quentin Gliech
309c89fc4f
Handle legacy token expiration & refresh tokens
2022-05-19 10:17:49 +02:00
Quentin Gliech
c4fa87e457
Better data-model for compat sessions & devices
2022-05-19 10:17:49 +02:00
Quentin Gliech
076d4b8d13
Split compat and api routers
2022-05-19 10:17:49 +02:00
Quentin Gliech
01cdb9a02a
Appease cargo fmt
2022-05-19 10:17:49 +02:00
Quentin Gliech
660b2d5232
Handle legacy /logout
2022-05-19 10:17:49 +02:00
Quentin Gliech
1aff98bdb3
Working legacy login endpoint
2022-05-19 10:17:49 +02:00
Quentin Gliech
1ebdd0b731
WIP: Handle /login
2022-05-19 10:17:49 +02:00
dependabot[bot]
b288b32011
Bump axum-macros from 0.2.1 to 0.2.2
...
Bumps [axum-macros](https://github.com/tokio-rs/axum ) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/tokio-rs/axum/releases )
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/axum/compare/axum-macros-v0.2.1...axum-macros-v0.2.2 )
---
updated-dependencies:
- dependency-name: axum-macros
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-19 09:02:17 +02:00
dependabot[bot]
1129448e59
Bump axum from 0.5.5 to 0.5.6
...
Bumps [axum](https://github.com/tokio-rs/axum ) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/tokio-rs/axum/releases )
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/axum/compare/axum-v0.5.5...axum-v0.5.6 )
---
updated-dependencies:
- dependency-name: axum
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-17 17:42:34 +02:00
dependabot[bot]
ae7392218a
Bump axum-extra from 0.3.1 to 0.3.2
...
Bumps [axum-extra](https://github.com/tokio-rs/axum ) from 0.3.1 to 0.3.2.
- [Release notes](https://github.com/tokio-rs/axum/releases )
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/axum/compare/axum-extra-v0.3.1...axum-extra-v0.3.2 )
---
updated-dependencies:
- dependency-name: axum-extra
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-17 17:05:26 +02:00
Quentin Gliech
bf1d96fc23
Add password change discovery
...
See https://web.dev/change-password-url/
2022-05-12 15:06:37 +02:00
Quentin Gliech
185562c866
Form error state overhaul
...
This adds a new FormState structure here to hold the state of an errored
from, including retaining field value and better error codes.
It also adds error recovery for the registration form, and properly
loads the post_login_action context in case of errors.
2022-05-12 13:35:58 +02:00
dependabot[bot]
148a758cf3
Bump axum-extra from 0.3.0 to 0.3.1
...
Bumps [axum-extra](https://github.com/tokio-rs/axum ) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/tokio-rs/axum/releases )
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/axum/compare/axum-extra-v0.3.0...axum-extra-v0.3.1 )
---
updated-dependencies:
- dependency-name: axum-extra
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-11 10:51:02 +02:00
dependabot[bot]
4e3006d78d
Bump axum from 0.5.4 to 0.5.5
...
Bumps [axum](https://github.com/tokio-rs/axum ) from 0.5.4 to 0.5.5.
- [Release notes](https://github.com/tokio-rs/axum/releases )
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/axum/compare/axum-v0.5.4...axum-v0.5.5 )
---
updated-dependencies:
- dependency-name: axum
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-11 10:13:20 +02:00
dependabot[bot]
ac9318ff1d
Bump axum-macros from 0.2.0 to 0.2.1
...
Bumps [axum-macros](https://github.com/tokio-rs/axum ) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/tokio-rs/axum/releases )
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/axum/compare/axum-macros-v0.2.0...axum-macros-v0.2.1 )
---
updated-dependencies:
- dependency-name: axum-macros
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-11 09:38:31 +02:00
Quentin Gliech
ca7b26cf18
Simplify error handling in user-facing routes
2022-05-10 17:47:38 +02:00
Jonas Platte
0e1b2ea6b1
Remove implied StatusCode::OK
2022-05-10 11:01:24 +02:00
Quentin Gliech
44c1503bf2
Bump RustCrypto crates
...
Temporarily use a fork for RSA which has pkcs* bumped
2022-05-10 10:37:44 +02:00
Quentin Gliech
f4353b660e
Have a unified URL builder/router
2022-05-10 09:52:48 +02:00
dependabot[bot]
0ac4fddee4
Bump tokio from 1.18.1 to 1.18.2
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.18.1 to 1.18.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.18.1...tokio-1.18.2 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-09 22:10:17 +02:00
dependabot[bot]
37a3bc6609
Bump tower-http from 0.3.2 to 0.3.3
...
Bumps [tower-http](https://github.com/tower-rs/tower-http ) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/tower-rs/tower-http/releases )
- [Commits](https://github.com/tower-rs/tower-http/compare/tower-http-0.3.2...tower-http-0.3.3 )
---
updated-dependencies:
- dependency-name: tower-http
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-09 22:08:58 +02:00
dependabot[bot]
65596eb6a4
Bump indoc from 1.0.5 to 1.0.6
...
Bumps [indoc](https://github.com/dtolnay/indoc ) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/dtolnay/indoc/releases )
- [Commits](https://github.com/dtolnay/indoc/compare/1.0.5...1.0.6 )
---
updated-dependencies:
- dependency-name: indoc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-09 22:05:16 +02:00
Quentin Gliech
407ed412f1
Bump dependencies
2022-05-06 17:17:49 +02:00
Quentin Gliech
436c0dcb19
Rewrite the authorization grant logic
2022-05-06 17:12:39 +02:00
dependabot[bot]
a132d76ae4
Bump serde_json from 1.0.80 to 1.0.81
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.80 to 1.0.81.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.80...v1.0.81 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-05 11:06:20 +02:00
Quentin Gliech
7a4dbd2910
Rewrite authorization code grant callback logic
2022-05-04 16:36:59 +02:00
dependabot[bot]
77ea84d371
Bump tokio from 1.18.0 to 1.18.1
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.18.0 to 1.18.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.18.0...tokio-1.18.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-03 09:32:51 +02:00
dependabot[bot]
44d9000299
Bump serde from 1.0.136 to 1.0.137
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.136 to 1.0.137.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.136...v1.0.137 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-02 14:59:21 +02:00
dependabot[bot]
4ed0551c9b
Bump serde_json from 1.0.79 to 1.0.80
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.79 to 1.0.80.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.79...v1.0.80 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-02 13:18:03 +02:00
dependabot[bot]
f0c19a17b2
Bump thiserror from 1.0.30 to 1.0.31
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.30 to 1.0.31.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.30...1.0.31 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-02 12:42:20 +02:00
dependabot[bot]
320edd5b86
Bump crc from 2.1.0 to 3.0.0
...
Bumps [crc](https://github.com/mrhooray/crc-rs ) from 2.1.0 to 3.0.0.
- [Release notes](https://github.com/mrhooray/crc-rs/releases )
- [Commits](https://github.com/mrhooray/crc-rs/compare/2.1.0...3.0.0 )
---
updated-dependencies:
- dependency-name: crc
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-02 12:08:16 +02:00
dependabot[bot]
ece2630246
Bump tower-http from 0.3.1 to 0.3.2
...
Bumps [tower-http](https://github.com/tower-rs/tower-http ) from 0.3.1 to 0.3.2.
- [Release notes](https://github.com/tower-rs/tower-http/releases )
- [Commits](https://github.com/tower-rs/tower-http/compare/tower-http-0.3.1...tower-http-0.3.2 )
---
updated-dependencies:
- dependency-name: tower-http
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-02 12:07:58 +02:00
Quentin Gliech
3a83c5b3bf
Use axum-extra's PrivateCookieJar
2022-04-29 14:56:06 +02:00
Quentin Gliech
9681948aa8
Show consent page on prompt=consent
2022-04-29 14:10:45 +02:00
Quentin Gliech
28ff912029
Simple consent screen and storage
2022-04-29 12:16:39 +02:00
Quentin Gliech
8a256596d7
Serve static files live from disk in dev mode
2022-04-28 16:08:50 +02:00
dependabot[bot]
a942ee4a7a
Bump serde_with from 1.12.1 to 1.13.0
...
Bumps [serde_with](https://github.com/jonasbb/serde_with ) from 1.12.1 to 1.13.0.
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v1.12.1...v1.13.0 )
---
updated-dependencies:
- dependency-name: serde_with
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-25 22:11:13 +02:00
dependabot[bot]
2e32559878
Bump anyhow from 1.0.56 to 1.0.57
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.56 to 1.0.57.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.56...1.0.57 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-23 16:57:50 +02:00
Quentin Gliech
687c2a97b8
Allow more safe headers on CORS-protected resources
2022-04-22 15:14:14 +02:00
dependabot[bot]
f3a0aabbb7
Bump axum from 0.5.1 to 0.5.3
...
Bumps [axum](https://github.com/tokio-rs/axum ) from 0.5.1 to 0.5.3.
- [Release notes](https://github.com/tokio-rs/axum/releases )
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/axum/compare/axum-v0.5.1...axum-v0.5.3 )
---
updated-dependencies:
- dependency-name: axum
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-21 15:08:33 +02:00
Quentin Gliech
ee05543944
Check some metadata on client registration
2022-04-21 13:34:07 +02:00
Quentin Gliech
25193ebaa5
Support signed userinfo responses
2022-04-21 11:49:49 +02:00
Quentin Gliech
5c14611b96
Simple dynamic client registration
2022-04-19 12:23:19 +02:00
dependabot[bot]
433ee5a73a
Bump tracing from 0.1.33 to 0.1.34
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.33 to 0.1.34.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.33...tracing-0.1.34 )
---
updated-dependencies:
- dependency-name: tracing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-18 15:02:47 +02:00
dependabot[bot]
3756f0da4a
Bump sqlx from 0.5.11 to 0.5.13
...
Bumps [sqlx](https://github.com/launchbadge/sqlx ) from 0.5.11 to 0.5.13.
- [Release notes](https://github.com/launchbadge/sqlx/releases )
- [Changelog](https://github.com/launchbadge/sqlx/blob/master/CHANGELOG.md )
- [Commits](https://github.com/launchbadge/sqlx/compare/v0.5.11...v0.5.13 )
---
updated-dependencies:
- dependency-name: sqlx
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-17 09:23:41 +02:00