feat: add some fediverse authentication code
* create applications on instances * generate authorize URLs * exchange oauth code for token and user info (untested) * recreate mastodon app on authentication failure
This commit is contained in:
parent
a4ca0902a3
commit
0077a165b5
8 changed files with 497 additions and 0 deletions
|
@ -101,6 +101,7 @@ public static class WebApplicationExtensions
|
|||
.AddScoped<AuthService>()
|
||||
.AddScoped<KeyCacheService>()
|
||||
.AddScoped<RemoteAuthService>()
|
||||
.AddScoped<FediverseAuthService>()
|
||||
.AddScoped<ObjectStorageService>()
|
||||
// Background services
|
||||
.AddHostedService<PeriodicTasksService>()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue