Activities of "shobhit"

Answer

Thanks maliming. Issue solved. Problem lies here:

if (!hostingEnvironment.IsDevelopment()) { ConnectionMultiplexer redis = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]); context.Services .AddDataProtection() .PersistKeysToStackExchangeRedis(redis, "EzpandCC-Protection-Keys") .SetApplicationName("MVC"); }

comment the If statement so that keys can be persited.

Answer

could not understand which step to follow. Anyway i followed step to "It works for me after SetApplicationName" but still i am getting same issue

Answer

In Browser console i could see following error: Status 403 Forbidden VersionHTTP/2 Transferred8.81 KB (8.33 KB size)

we are surely not supporting HTTP/2. I am not sure how HTTP/2 protocol getting used

Answer

Thanks Mailming, Url issue fixed but still getting token invalid issue:

Answer

yes as part of "IdentityServerModule" --> ConfigureServices() method

Answer

hi Maliming, Thanks for help. Now i am receiving email but i have to do few more changes in my CreateUser Method:

public override async Task<IdentityUserDto> CreateAsync(IdentityUserCreateDto input) { IdentityUserDto identityUserDto = await base.CreateAsync(input);

        var user = await _identityUserRepository.FindByNormalizedEmailAsync(input.Email.ToUpperInvariant());

        var confirmationToken = await UserManager.GenerateEmailConfirmationTokenAsync(user);

        await _AccountEmailer.SendEmailConfirmationLinkAsync(user, confirmationToken, "MVC", "https://localhost:4200");
       
        return identityUserDto;
    }
    

Now i have 2 challenges:

1- i am not getting full url but getting like this which is missing the domain: /Account/EmailConfirmation?userId=e3eecf67-85fc-59eb-face-3a00cf032a62&tenantId=&confirmationToken=CfDJ8M3speqUcVZAto9TzzaT5%2BngwUFUIw%2Fta3OQuB7gt8dBiWPePpBsnP6Sh9i72U7wAUau1Ogb8dHEBXcXsWQkc4QjzR4hQvMno7XFiWAAk3SzGD5I6nWNrOMluoal4YD%2FwMdgvYEtxjlaDvgq%2FLaMA1%2BHVjIzxSJ0O7LjXJH%2F9mCeUvnNnSkeiIkKlUR9Qg6VbLfyofwBgYTCkQEavdFrK07dZMDu84oI%2BVE6Y0GURzJI6KhoJOORn5IbOxYnBByKAw%3D%3D&returnUrl=https://localhost:4200

2- on calling this url with identity server url getting following error:

Answer

Getting above error from:

await EmailSender.SendAsync( user.Email, "EmailConfirmation", emailContent,true );

Answer

During debug got following error message: {"The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters."}

Answer

Host Logs have no Error [ERR] record

Answer

still not working i.e. not receiving email.

Showing 241 to 250 of 349 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on November 03, 2025, 07:01