hi
For openiddict
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(TokenController))]
class MyTokenController : TokenController
{
protected override async Task<IActionResult> SetSuccessResultAsync(OpenIddictRequest request, IdentityUser user)
{
var userManager = LazyServiceProvider.LazyGetRequiredService<IdentityUserManager>();
user.SetProperty(ConcurrentLoginConsts.ConcurrentLoginToken, Guid.NewGuid().ToString("N"));
await UserManager.UpdateAsync(user);
return await base.SetSuccessResultAsync(request, user);
}
}
https://github.com/abpframework/abp/blob/a4aba09dc909006ea188f322e73cf56f56fe4616/modules/openiddict/src/Volo.Abp.OpenIddict.AspNetCore/Volo/Abp/OpenIddict/Controllers/TokenController.Password.cs#L213
hi
Can you reproduce it in a new template project? liming.ma@volosoft.com
What is your PollingWorker class? You can inject services on the constructor or method context.
hi
We will fix this in RC 3, your question credits refunded.
but the first issue is that the values I saved is not loading.
I don't get it. Can you explain more?
I also tried the Send test email and its also not working.
Please remove the NullEmailSender.
#if DEBUG
context.Services.Replace(ServiceDescriptor.Singleton<IEmailSender, NullEmailSender>());
#endif
hi
What's the value of your Host setting?
? I downloaded the sample code from GitHub.
What is the sample? Can you share the Github URL?
But the problem with the SameSite Cookies still persists even if apply the workaround mentioned earlier.
Can you reproduce the problem without docker?
https://support.abp.io/QA/Questions/3816/How-to-disable-https-in-openiddict#answer-0bea3600-1209-f831-3cbf-3a06f6fa86e0
hi
I will confirm that.
hi
We don't have such samples. You can call MongoDB API to call view in your repository method.