Hi,
I already finished this , you can expect it in the next studio update at the earliest
Different values from what
I don't know; that's why I asked you output logger to check it.
You can copy the authenticator source code from the settings page to a new page if you want.
Get source code from here https://abp.io/support/questions/8534/2-Factor-Authentication-with-Forced-options---show-authenticator-app-wizard#answer-3a172ed4-c03c-7042-b97c-edf641d389a4
Padding is invalid and cannot be removed. System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed. at System.Security.Cryptography.SymmetricPadding.GetPaddingLength(ReadOnlySpan
This is a problem with your StringEncryption.
They used different values, so setting values could not be decrypted.
You can output the current DefaultPassPhrase via logging to check
public override void OnApplicationInitialization(ApplicationInitializationContext context)
{
var env = context.GetEnvironment();
var app = context.GetApplicationBuilder();
var opt = app.ApplicationServices.GetRequiredService<IOptions<AbpStringEncryptionOptions>>();
Logger.LogInformation("pass phrase is : " + opt.DefaultPassPhrase);
.....
}
Yes, you can overwrite them according to your needs.
Hi,
Try Pages/Account/Components/ProfileManagementGroup/AuthenticatorApp/Default.js
Hi,
You can get it from the browser
for example: https://xxxx/Pages/Account/Components/ProfileManagementGroup/TwoFactor/Default.js