hi
var userPrincipal = await SignInManager.CreateUserPrincipalAsync(user);
using (CurrentPrincipalAccessor.Change(userPrincipal))
{
await IdentitySecurityLogManager.SaveAsync()
}
hi
I mean your code instead of IdentitySecurityLogManager source code.
we are using this to add UserName but here UserId is not present.
Where did you call the below code? Please share the code. Thanks
await IdentitySecurityLogManager.SaveAsync(new IdentitySecurityLogContext()
{
Identity = IdentitySecurityLogIdentityConsts.Identity,
Action = Microsoft.AspNetCore.Identity.SignInResult.Success.ToIdentitySecurityLogAction(),
UserName = user.Name
});
hi
This is related to angular-oauth2-oidc, our angular team will check and reply to you.
hi
You can share the logs of authserver now without set level.
hi
It seems the logs don't contain authserver website.
Can you share the logs of all website? Thanks
Also set the level to Debug will be best.
public async static Task<int> Main(string[] args)
{
Log.Logger = new LoggerConfiguration()
.MinimumLevel.Debug()
.Enrich.FromLogContext()
.WriteTo.Async(c => c.File("Logs/logs.txt"))
.WriteTo.Async(c => c.Console())
.CreateLogger();
hi
Can you try again to see if it still has the error output of blazor?
Please contact license@abp.io if the error is not solved.
hi
Please share your code of IdentitySecurityLogManager
hi
The browser may block iframe and there is nothing we can do.
hi
abp uses the functionality provided by identity. No changes have been made.
https://learn.microsoft.com/en-us/aspnet/core/security/authentication/mfa?view=aspnetcore-7.0#mfa-totp-time-based-one-time-password-algorithm https://learn.microsoft.com/en-us/aspnet/core/security/authentication/identity-enable-qrcodes?view=aspnetcore-7.0#totp-client-and-server-time-skew