Commit Graph

40 Commits

Author SHA1 Message Date
Quentin Gliech
acac9fb1b8 Make telemetry configurable
Also allows opting-out of the OTLP exporter to remove the dependency to
protoc when building.
2021-10-13 16:48:16 +02:00
Quentin Gliech
48f4c7f498 Initial OpenTelemetry tracing support 2021-10-13 13:56:42 +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
44d50ee7b8 Better data structure to handle scopes 2021-10-05 20:36:36 +02:00
Quentin Gliech
ab18297e91 PKCE support 2021-10-05 14:08:47 +02:00
Quentin Gliech
b3a0246af0 Upgrade dependencies 2021-10-04 14:48:23 +02:00
Quentin Gliech
d968fe463e Upgrade all dependencies 2021-09-23 20:54:24 +02:00
Quentin Gliech
7681f5131a Split the service in multiple crates 2021-09-16 14:43:56 +02:00
Quentin Gliech
e74bc12ccd Upgrade dependencies 2021-09-16 12:33:04 +02:00
Quentin Gliech
81d95ef215 Add c_hash, at_hash and nonce claims to id_token 2021-09-09 16:52:08 +02:00
Quentin Gliech
5c63b93c92 Basic id_token signing 2021-09-09 13:18:53 +02:00
Quentin Gliech
9b841b2127 Simple task scheduler to remove old access tokens 2021-08-27 12:06:03 +02:00
Quentin Gliech
9f4673918d Load environment variables from .env files
This allows to properly set the OAuth 2.0 Issuer base in the Codespace
2021-08-15 09:21:15 +00:00
Quentin Gliech
2e33590cef Implement proper access token generation 2021-08-13 14:15:20 +02:00
Quentin Gliech
1ef0e922c3 Continue implementing the authorization code grant 2021-08-05 23:44:35 +02:00
Quentin Gliech
e2436ae2e8 starting the oauth2 authorization flow
also enable compile-time validation of queries
2021-07-31 23:22:41 +02:00
Quentin Gliech
ea5563b0df better logging and http handling 2021-07-30 23:07:29 +02:00
Quentin Gliech
068e4738dc update dependencies 2021-07-30 15:21:11 +02:00
Quentin Gliech
59b2cfde33 migrate to warp, last part 2021-07-30 15:19:30 +02:00
Quentin Gliech
c8090d8ed4 WIP: migrate to warp, part 2 2021-07-29 14:56:33 +02:00
Quentin Gliech
7566b28041 WIP: migrate to warp 2021-07-27 19:20:24 +02:00
Quentin Gliech
a7852390de reimplement CSRF logic 2021-07-27 14:25:15 +02:00
Quentin Gliech
51539019aa replace custom serde types with serde_with in oauth2-types 2021-07-22 14:38:14 +02:00
Quentin Gliech
eaafdf432f store users in database 2021-07-17 00:49:25 +02:00
Quentin Gliech
c441ed75e7 add a subcommand to generate a config file 2021-07-16 18:55:33 +02:00
Quentin Gliech
08375f49cf reorganize dependencies and upgrade them 2021-07-16 17:47:44 +02:00
Quentin Gliech
cb72d29695 partial config load & tests 2021-07-16 17:33:16 +02:00
Quentin Gliech
58b16511db split CLI in multiple commands
- `config` to view & check config files
 - `database` for DB-related ops
 - `server` to run the server
2021-07-16 14:34:18 +02:00
Quentin Gliech
ad136e757d initial config schema 2021-07-16 11:19:03 +02:00
Quentin Gliech
adb2234b31 save sessions in database 2021-07-09 22:49:23 +02:00
Quentin Gliech
8bbc8c809a upgrade dependencies 2021-07-09 17:17:42 +02:00
Quentin Gliech
c569c56e58 proper CSRF config 2021-07-09 14:53:53 +02:00
Quentin Gliech
453544b755 setup sqlx with migrations 2021-07-09 10:50:51 +02:00
Quentin Gliech
78bc6b22b3 Simple error middleware 2021-07-08 11:54:50 +02:00
Quentin Gliech
0e30a1fb0c static oauth2 client from config 2021-07-01 14:56:27 +02:00
Quentin Gliech
cca18d3d79 CSRF protection 2021-06-25 15:11:38 +02:00
Quentin Gliech
3a512b4199 bare minimum sessions & login 2021-06-24 12:34:17 +02:00
Quentin Gliech
96b1b2f975 Add template engine & rename oauth2 crate 2021-06-24 09:41:54 +02:00
Quentin Gliech
a912f8d99d initial authentication service web server 2021-06-18 17:00:48 +02:00
Quentin Gliech
47eb980dbd initial commit 2021-06-10 13:48:28 +02:00