Activities of "maliming"

Thanks, We will check it.

Answer

see https://github.com/abpframework/abp/issues/2409

https://github.com/abpframework/abp/issues/2533

hi

Please check the application's log for detailed error information.

hi

Please upgrade ABP CLI and ABP Suite to the latest version(2.1.1) and try again.

What are the steps to reproduce the problem?

Just reference the package.

https://www.nuget.org/packages/Volo.Abp.MailKit/

[DependsOn(typeof(AbpMailKitModule)]

Have you used MailKit in zero?

If yes, please use Volo.Abp.MailKit in abp vnext

Please share your email configuration.

One more question, is there a place to configure disable the email sending ?

It is not yet configurable, we can consider adding a setting to configure it.

It is expected to be resolved in version 2.2. Please stay tuned.

hi

We will fix this problem, you can use the code below to solve it temporarily.

[ExposeServices(typeof(ConsentModel))]
public class MyConsentModel : ConsentModel
{
	private readonly IIdentityServerInteractionService _interaction;

	public MyConsentModel(
		IIdentityServerInteractionService interaction, 
		IClientStore clientStore,
		IResourceStore resourceStore) 
		: base(interaction, clientStore, resourceStore)
	{
		_interaction = interaction;
	}

	protected override async Task<ConsentModel.ProcessConsentResult> ProcessConsentAsync()
	{
		var result = new ConsentModel.ProcessConsentResult();

		ConsentResponse grantedConsent;

		if (ConsentInput.UserDecision == "no")
		{
			grantedConsent = ConsentResponse.Denied;
		}
		else
		{
			if (ConsentInput.IdentityScopes.Any() || ConsentInput.ApiScopes.Any())
			{
				var identityScopes = ConsentInput.IdentityScopes ?? new List<ConsentModel.ScopeViewModel>();
				var apiScopes = ConsentInput.ApiScopes ?? new List<ConsentModel.ScopeViewModel>();

				grantedConsent = new ConsentResponse
				{
					RememberConsent = ConsentInput.RememberConsent,
					ScopesConsented = identityScopes.Union(apiScopes).Where(s => s.Checked).Select(s => s.Name).ToList()
				};
			}
			else
			{
				throw new UserFriendlyException("You must pick at least one permission"); //TODO: How to handle this
			}
		}

		if (grantedConsent != null)
		{
			var request = await _interaction.GetAuthorizationContextAsync(ReturnUrl);
			if (request == null)
			{
				return result;
			}

			await _interaction.GrantConsentAsync(request, grantedConsent);

			result.RedirectUri = ReturnUrl; //TODO: ReturnUrlHash?
		}

		return result;
	}
}

Showing 10561 to 10570 of 10584 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.0.0-preview. Updated on September 05, 2025, 09:28