hi
Current JobStorage instance has not been initialized yet. You must set it before using Hangfire Client or Server API. For .NET Core applications please call the IServiceCollection.AddHangfire extension method from Hangfire.NetCore or Hangfire.AspNetCore package depending on your application type when configuring the services and ensure service-based APIs are used instead of static ones, like
IBackgroundJobClientinstead ofBackgroundJoband IRecurringJobManager instead of RecurringJob.
context.Services.AddHangfireServer();fresh project by https://wetransfer.com/liming.ma@volosoft.com
Thanks
hi
Looks like the using statement for OpenIddict.Server.AspNetCore appears twice in the {project}BlazorModule.cs file
We have removed the duplicate namespace in 8.2.
because 'https://myfrontend.com' was not a valid redirect_uri for Myapp_App.
Please share your authserver(openiddict) module code.
Does the https://myfrontend.com in your Myapp_App's redirect_uri?
Hi, it is working after updating this in code
Great. 👍
hi
You need to call the base method to logout
// Ask ASP.NET Core Identity to delete the local and external cookies created
// when the user agent is redirected from the external identity provider
// after a successful authentication flow (e.g Google or Facebook).
await SignInManager.SignOutAsync();
// Returning a SignOutResult will ask OpenIddict to redirect the user agent
// to the post_logout_redirect_uri specified by the client application or to
// the RedirectUri specified in the authentication properties if none was set.
return SignOut(authenticationSchemes: OpenIddictServerAspNetCoreDefaults.AuthenticationScheme);
It will redirect to post_logout_redirect_uri, you can redirect to externalLogout in your post_logout_redirect_uri.
If you can share a simple project, I can download and check it.
liming.ma@volosoft.com
hi
Add ReplaceControllers attribute.
[ReplaceControllers(typeof(LogoutController))]
public class MyLogoutController : LogoutController
{
public override Task<IActionResult> GetAsync()
{
return base.GetAsync();
}
}
hi
It's not like that at the moment, but I will give feedback to the team.
hi
What's your license type?
You can download the source if you have business license.
I have refunded your ticket.