Commit Graph

7 Commits

Author SHA1 Message Date
Quentin Gliech
bb3d6b8089 Fix post-auth redirects & support max_age
This also displays some context on login and reauth page about the next
step
2021-11-16 19:16:52 +01:00
Quentin Gliech
91e8998589 Refactor authorization grant
The authorization grant is now properly separated from the OAuth2
session, which helps avoiding a lot of potential database
inconsistencies
2021-10-25 17:27:19 -04:00
Quentin Gliech
7c6a7d1ad5 Refactor DB interactions for OAuth code and tokens
This ensures complex types like scopes are properly parsed back from the
database.
2021-10-19 20:08:08 +02:00
Quentin Gliech
6a41b887d4 WIP: Refactor higher-level data-model to its own crate 2021-10-12 19:03:01 +02:00
Quentin Gliech
ab18297e91 PKCE support 2021-10-05 14:08:47 +02:00
Quentin Gliech
befd0a8c2d Consume authorization code on use 2021-09-17 18:24:43 +02:00
Quentin Gliech
7681f5131a Split the service in multiple crates 2021-09-16 14:43:56 +02:00