Hi,
Can you provide a minimal project that can reproduce the problem with me? thanks. shiwei.liang@volosoft.com
ok
Hi,
you can try to remove the BlazoriseMyGet.
Open Nuget.config and delete <add key="BlazoriseMyGet" value="https://www.myget.org/F/blazorise/api/v3/index.json" />
Hi,
And I'll have to double-check it properly
Can you share some screenshots? thanks.
Hi,
Identityserver and OpenidDict both implemented OAuth , so you can still use the client_id/client_secret
Hi,
Sorry, we are late,
I think it's possible,but I don't know much about DUO Universal Prompt, It looks like a 3rd party 2FA verification server.
You can customise the login model of the account pro module, and redirect to DUO Universal Prompt if the user needed.
For example:
public class MoLoginModel : LoginModel
{
public MoLoginModel(IAuthenticationSchemeProvider schemeProvider, IOptions<AbpAccountOptions> accountOptions, IAbpRecaptchaValidatorFactory recaptchaValidatorFactory, IAccountExternalProviderAppService accountExternalProviderAppService, ICurrentPrincipalAccessor currentPrincipalAccessor, IOptions<IdentityOptions> identityOptions, IOptionsSnapshot<reCAPTCHAOptions> reCaptchaOptions) : base(schemeProvider, accountOptions, recaptchaValidatorFactory, accountExternalProviderAppService, currentPrincipalAccessor, identityOptions, reCaptchaOptions)
{
}
protected override async Task<IActionResult> CheckLocalLoginAsync()
{
var result = await base.CheckLocalLoginAsync();
if (result != null)
{
return result;
}
//get the user to check if need to redirect
var user = await UserManager.FindByNameAsync(LoginInput.UserNameOrEmailAddress);
return await RedirectToDuoUniversal();
}
protected async Task<IActionResult> RedirectToDuoUniversal()
{
.....
}
}
Anyway, your ticket refunded.
Hi,
See:https://github.com/abpframework/abp/blob/95f9ff405796fe898c9f6c8295e2e4bb0d6963c5/framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/AbpDbContext.cs#L184
catch (DbUpdateConcurrencyException ex)
{
throw new AbpDbConcurrencyException(ex.Message, ex);
}
I think you can get the DbUpdateConcurrencyException from AbpDbConcurrencyException.InnerException