Quentin Gliech
|
e26f75246d
|
storage: Load with less joins
This is done to simplify some queries, to avoid loading more data than
necessary, and in preparation of a proper cache layer
|
2023-01-04 18:06:17 +01:00 |
|
Quentin Gliech
|
09a567ab17
|
storage: OAuth2 client repository
|
2023-01-04 16:30:32 +01:00 |
|
Quentin Gliech
|
1caf776d75
|
Allow updating clients from the config without truncating them
|
2023-01-03 16:43:18 +01:00 |
|
Quentin Gliech
|
53172d6a3f
|
strorage: browser session and user password repositories
|
2023-01-03 15:58:01 +01:00 |
|
Quentin Gliech
|
4790897892
|
storage: trace storage operations better
|
2023-01-02 16:54:44 +01:00 |
|
Quentin Gliech
|
13a9d03647
|
storage: user and user email repository
|
2023-01-02 15:28:44 +01:00 |
|
Quentin Gliech
|
870a37151f
|
storage: upstream oauth session repository + unit tests
|
2022-12-30 15:39:51 +01:00 |
|
Quentin Gliech
|
0faf08fce2
|
storage: repository pattern for upstream oauth2 providers
|
2022-12-30 10:55:37 +01:00 |
|
Quentin Gliech
|
5969b574e2
|
WIP: repository pattern for upstream oauth2 links
|
2022-12-30 10:16:22 +01:00 |
|
Quentin Gliech
|
3bca5ab9be
|
Add the standard API scope to the compat token introspection
|
2022-12-28 11:33:53 +01:00 |
|
Quentin Gliech
|
9a39bf3f09
|
Be consistent when logging errors
|
2022-12-14 16:39:28 +01:00 |
|
Quentin Gliech
|
a475a9a164
|
Make the compat login use the new password manager
|
2022-12-14 16:04:36 +01:00 |
|
Quentin Gliech
|
533cabe005
|
Use the new password manager
|
2022-12-14 16:04:36 +01:00 |
|
Quentin Gliech
|
56d43b0166
|
storage: finish cleaning up the errors
|
2022-12-08 15:29:15 +01:00 |
|
Quentin Gliech
|
a836cc864a
|
storage: unify most of the remaining errors
|
2022-12-08 15:29:15 +01:00 |
|
Quentin Gliech
|
102571512e
|
storage: unify most oauth2 related errors
|
2022-12-08 15:29:15 +01:00 |
|
Quentin Gliech
|
b7cad48bbd
|
storage: unify user operations errors
|
2022-12-08 15:29:15 +01:00 |
|
Quentin Gliech
|
f7f65e314b
|
storage: unify the compat login errors
|
2022-12-08 15:29:15 +01:00 |
|
Quentin Gliech
|
1ddc05ff01
|
storage: start unifying database errors
|
2022-12-08 15:29:15 +01:00 |
|
Quentin Gliech
|
12ce2a3d04
|
data-model: simplify the authorization grants and sessions
|
2022-12-08 15:29:15 +01:00 |
|
Quentin Gliech
|
92d6f5b087
|
data-model: simplify the oauth2 clients
|
2022-12-08 15:29:15 +01:00 |
|
Quentin Gliech
|
479e009931
|
data-model: simplify the compat sessions
|
2022-12-08 15:29:15 +01:00 |
|
Quentin Gliech
|
feebbd0e97
|
data-model: simplify users and sessions
|
2022-12-08 15:29:15 +01:00 |
|
Quentin Gliech
|
dff2f98167
|
data-model: simplify tokens
|
2022-12-08 15:29:15 +01:00 |
|
Quentin Gliech
|
1655080b8f
|
GraphQL: query upstream links from users
|
2022-12-05 19:39:51 +01:00 |
|
Quentin Gliech
|
989e464dd0
|
WIP: Provider list on the login page
|
2022-12-05 19:39:51 +01:00 |
|
Quentin Gliech
|
2e7112ef13
|
GraphQL API
|
2022-12-05 19:39:51 +01:00 |
|
Quentin Gliech
|
28bfce7e45
|
Save the ID token during an upstream authorization
|
2022-12-05 19:39:51 +01:00 |
|
Quentin Gliech
|
bf432a31e1
|
OIDC account linking and login
|
2022-12-05 19:39:51 +01:00 |
|
Quentin Gliech
|
22a337cd45
|
WIP: handle account linking
|
2022-12-05 19:39:51 +01:00 |
|
Quentin Gliech
|
cde9187adc
|
Lookup and save upstream links
|
2022-12-05 19:39:51 +01:00 |
|
Quentin Gliech
|
bedcf44741
|
WIP: upstream OIDC provider support
|
2022-12-05 19:39:51 +01:00 |
|
Quentin Gliech
|
78778648ca
|
Allow fetching more nodes by their IDs
|
2022-11-18 13:43:01 +01:00 |
|
Quentin Gliech
|
4f01c123c3
|
GraphQL schema documentation
|
2022-11-09 19:17:12 +01:00 |
|
Quentin Gliech
|
4918440c3a
|
Use the sqlx QueryBuilder to build the paginated queries
|
2022-11-09 19:17:12 +01:00 |
|
Quentin Gliech
|
08421b6fbe
|
GraphQL API: query oauth2 sessions and clients
|
2022-11-09 19:17:12 +01:00 |
|
Quentin Gliech
|
bb8160c541
|
GraphQL API: compat sessions
|
2022-11-09 19:17:12 +01:00 |
|
Quentin Gliech
|
e8e7e75514
|
Allow querying browser sessions
|
2022-11-09 19:17:12 +01:00 |
|
Quentin Gliech
|
ac40367c5f
|
Basic current session/user query + user emails connection
|
2022-11-09 19:17:12 +01:00 |
|
Quentin Gliech
|
577d5e4952
|
Minor fixes
|
2022-11-02 18:59:00 +01:00 |
|
Quentin Gliech
|
2d2127dcdb
|
More cleanups
|
2022-11-02 18:59:00 +01:00 |
|
Quentin Gliech
|
368a9282a1
|
Cleanups
|
2022-11-02 18:59:00 +01:00 |
|
Quentin Gliech
|
f1aa42fae4
|
Disallow Ulid generation without explicit timestamp and rng
|
2022-11-02 18:59:00 +01:00 |
|
Quentin Gliech
|
559181c2c3
|
Pass the rng and clock around
|
2022-11-02 18:59:00 +01:00 |
|
Quentin Gliech
|
02c30d9916
|
Insert client redirect_uris in one query
|
2022-11-02 18:59:00 +01:00 |
|
Quentin Gliech
|
770541eb38
|
Better DB operations tracing
|
2022-11-02 18:59:00 +01:00 |
|
Quentin Gliech
|
5580179537
|
Better logging of user-related DB operations
Also fixes a bug where the user would get redirected to the wrong URL
for verifying their email address
|
2022-11-02 18:59:00 +01:00 |
|
Quentin Gliech
|
27ace2aaca
|
Do not check for token expiration from the database directly
|
2022-11-02 18:59:00 +01:00 |
|
Quentin Gliech
|
16e50899e5
|
Remove trailing spaces
|
2022-11-02 18:59:00 +01:00 |
|
Quentin Gliech
|
e2142f9cd4
|
Database refactoring
|
2022-11-02 18:59:00 +01:00 |
|