Commit Graph

7 Commits

Author SHA1 Message Date
Quentin Gliech 6a69ef8456 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 004821f4f2 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 4307276b0e 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 b3587c677c WIP: Refactor higher-level data-model to its own crate 2021-10-12 19:03:01 +02:00
Quentin Gliech 8ecdf7c6c8 PKCE support 2021-10-05 14:08:47 +02:00
Quentin Gliech e08dae27b1 Consume authorization code on use 2021-09-17 18:24:43 +02:00
Quentin Gliech a44e33931c Split the service in multiple crates 2021-09-16 14:43:56 +02:00