Fixed smaller issues with refreshing the access token on frontend side

+ Saving the access and refresh token on server side
This commit is contained in:
Masu Baumgartner
2024-11-07 00:42:23 +01:00
parent f9c4ec1d31
commit add4c3e99f
4 changed files with 13 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
using System.Net;
using System.Reflection;
using MoonCore.Extended.Extensions;
using MoonCore.Extended.Helpers;
using MoonCore.Extensions;
using MoonCore.Helpers;
@@ -142,7 +143,7 @@ if (config.Client.Enable)
app.UseRouting();
app.UseMiddleware<ApiErrorMiddleware>();
app.UseApiErrorHandling();
await Startup.UseTokenAuthentication(app);
await Startup.UseOAuth2(app);