77 Commits

Author SHA1 Message Date
Zoe Roux
2ee71f8d8f
Add no password login error message 2024-05-28 00:08:20 +02:00
Zoe Roux
db2204258a
Add setup step in /info 2024-05-26 18:33:06 +02:00
renovate[bot]
76fc857457
Update dotnet monorepo to v8.0.5 (#501)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-19 17:10:36 +02:00
Zoe Roux
e1f1106c8d
Add authmethod config value for oidc providers (#453) 2024-04-29 22:22:25 +00:00
Zoe Roux
7c3f4d3c20
Add migration and generate auth secret 2024-04-23 18:32:19 +02:00
Zoe Roux
e898f49402
Use dotnet ef configuration provider for secrets 2024-04-23 17:13:59 +02:00
Zoe Roux
9b486c0c55
Add server options in database 2024-04-23 13:47:44 +02:00
renovate[bot]
f1899aef55
chore(deps): update dotnet monorepo to v8.0.4 (#416)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-14 22:19:59 +02:00
Zoe Roux
f64cf161ab
Remove all autofac references 2024-04-02 22:06:32 +02:00
Zoe Roux
9bd1e50de3
Delete usless plugin/startup handling 2024-04-02 22:06:32 +02:00
Zoe Roux
95bc5b9f7c
Add trakt in the list of supported oidc 2024-03-24 16:10:34 +01:00
Zoe Roux
44bb88910f
Add simkl oidc 2024-03-23 13:17:11 +01:00
Zoe Roux
ee0f703120
Update nuget packages 2024-03-23 01:13:18 +01:00
Zoe Roux
5a461bca7d
Migrate to dotnet8 2024-03-23 01:13:18 +01:00
Zoe Roux
18e301f26a
Switch to file scopped namespaces 2024-03-23 00:20:40 +01:00
Zoe Roux
e7bedd6a29
Fully migrate to system.text.json 2024-03-23 00:11:17 +01:00
Zoe Roux
ddad768cd8 Format code 2024-03-10 18:27:24 +01:00
Zoe Roux
08f3e9c06b Prevent two accounts from behing linked to the same external account 2024-03-10 18:27:24 +01:00
Zoe Roux
8f7320c298 Prioritize auth header compared to auth cookie 2024-03-10 18:27:24 +01:00
Zoe Roux
44e7323720 Handle require verification on account creation 2024-03-10 18:27:24 +01:00
Zoe Roux
78a3ae8aeb Remove security mode to use a simple require verification bool 2024-03-10 18:27:24 +01:00
Zoe Roux
041abb732d Introduce security mode option 2024-03-10 18:27:24 +01:00
Zoe Roux
a3ec224cf0 Format code 2024-03-09 00:49:11 +01:00
Zoe Roux
0add402434 Fix oidc list ssr 2024-03-09 00:49:11 +01:00
Zoe Roux
c0acf1c1a0 Add unlink route 2024-03-09 00:49:11 +01:00
Zoe Roux
a6c3ab33b1 Allow existing accounts to be linked 2024-03-09 00:49:11 +01:00
Zoe Roux
079a2cdbe3 Move oidc logic inside a service 2024-03-09 00:49:11 +01:00
Zoe Roux
a7fd96800a Format code 2024-03-07 01:36:57 +01:00
Zoe Roux
158058b720 Add guest permissions to server info 2024-03-07 01:36:57 +01:00
Zoe Roux
f4464578c0 Add allow guests to the server-info struct 2024-03-07 01:36:57 +01:00
Zoe Roux
b3a341847e Add discord as a builtin oidc provider 2024-03-07 01:36:57 +01:00
Zoe Roux
0d325f2c73 Handle duplicated usernames with oidc login 2024-03-07 01:36:57 +01:00
Zoe Roux
15d479f1eb Add oidc callback handling on the front 2024-03-07 01:36:57 +01:00
Zoe Roux
239ad9a4dc Add continue with oidc button on login and register pages 2024-03-07 01:36:57 +01:00
Zoe Roux
5f8d0d1b99 Add info endpoint to list oidc providers names and logo 2024-03-07 01:36:57 +01:00
Zoe Roux
1335ae13e8 Add permissions to new users from external signin 2024-03-07 01:36:57 +01:00
Zoe Roux
115d52977d Make password optional 2024-03-07 01:36:57 +01:00
Zoe Roux
3bb36f5e78 Fix user lookup by provider id 2024-03-07 01:36:57 +01:00
Zoe Roux
98e9ba0fa7 Parse user profile and get jwt 2024-03-07 01:36:57 +01:00
Zoe Roux
7df1a295f3 Add /login/{provider} route for oidc login 2024-03-07 01:36:57 +01:00
Zoe Roux
07f0862219 Add oidc options parsing 2024-03-07 01:36:57 +01:00
Zoe Roux
bc99408652 Add external ids to user 2024-03-07 01:36:57 +01:00
Zoe Roux
2968ca3562 Update default permissions 2024-02-19 17:14:41 +01:00
Zoe Roux
973685ec08 Fix admin creation logic 2024-02-14 15:52:40 +01:00
Zoe Roux
0439e1f37a Format code 2024-02-05 00:37:56 +01:00
Zoe Roux
666477e448 Add set and delete methods for the /users api 2024-02-05 00:37:56 +01:00
Zoe Roux
f4dc4c315d Use cookie for the jwt for images or videos 2024-02-05 00:37:56 +01:00
Zoe Roux
cee7ca2ca0 Add group support to partial permissions 2024-02-05 00:37:56 +01:00
Zoe Roux
b43b6d6f75 Add user pp support with gravatar fallback 2024-02-05 00:37:56 +01:00
Zoe Roux
a5638203a6 Update csharpier 2024-02-03 14:55:18 +01:00