1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-07 22:41:18 +03:00
Commit Graph

126 Commits

Author SHA1 Message Date
0fcecfa7fb Handle legacy /refresh 2022-05-19 10:17:49 +02:00
309c89fc4f Handle legacy token expiration & refresh tokens 2022-05-19 10:17:49 +02:00
c4fa87e457 Better data-model for compat sessions & devices 2022-05-19 10:17:49 +02:00
33204b7cf8 Prepare the storage layer for legacy refresh tkoens 2022-05-19 10:17:49 +02:00
660b2d5232 Handle legacy /logout 2022-05-19 10:17:49 +02:00
1aff98bdb3 Working legacy login endpoint 2022-05-19 10:17:49 +02:00
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
436c0dcb19 Rewrite the authorization grant logic 2022-05-06 17:12:39 +02:00
28ff912029 Simple consent screen and storage 2022-04-29 12:16:39 +02:00
bfb00e281d Fix formatting 2022-04-28 18:53:33 +02:00
ead7e4804a Make the client_id a foreign key 2022-04-28 18:39:45 +02:00
25193ebaa5 Support signed userinfo responses 2022-04-21 11:49:49 +02:00
5c14611b96 Simple dynamic client registration 2022-04-19 12:23:19 +02:00
4e31fc6c84 Get rid of warp 2022-04-06 17:35:29 +02:00
9dad21475e Axum migration: /oauth2/userinfo & UserAuthorization util 2022-04-06 17:35:29 +02:00
62f633a716 Move clients to the database 2022-03-08 19:07:46 +01:00
cad6d54ddb Reply with proper errors on the OAuth token endpoint 2022-02-25 11:28:23 +01:00
a45381828c Loads of docs & enabling more clippy lints 2022-02-01 12:02:32 +01:00
54e9dc0712 Database model to save user email verification codes 2022-01-21 17:41:11 +01:00
29b2fc2e43 CLI subcommand to mark emails as verified 2022-01-18 18:33:05 +01:00
6e50921626 Email management UI
Also simplify a bunch of query strings
2022-01-18 18:16:56 +01:00
565f5cda1b Save user emails in database 2022-01-14 18:42:37 +01:00
571f484894 Revoke OAuth session on code reuse 2022-01-14 13:20:14 +01:00
5b9c35a079 Use iana generated types in more places 2022-01-12 12:22:54 +01:00
f933ace007 New JWT/JOSE crate
Still WIP, needs to handle time related claims
2022-01-04 22:28:00 +01:00
ceb17d3646 Move storage module to its own crate 2021-12-17 12:15:07 +01:00