Activities of "LiSong"

Question
  • ABP Framework version: v8.1.0
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Does it have an event mechanism? For example, when a user confirms their email through email confirmation, and the system changes the user's email confirmed status from False to True, I want to add a feature that sends a welcome message to the user or changes the user's role after the email is confirmed.

I want to use the event like this:

  1. Create an event handler to handle the EmailConfirmedEvent:
public class EmailConfirmedEventHandler : ILocalEventHandler<EmailConfirmedEvent>, ITransientDependency
{
    public Task HandleEventAsync(EmailConfirmedEvent eventData)
    {
        // Code to send a welcome message or change user role
        SendWelcomeMessage(eventData.UserId);
        ChangeUserRole(eventData.UserId);

        return Task.CompletedTask;
    }

    private void SendWelcomeMessage(Guid userId)
    {
        // Implementation of sending a welcome message
    }

    private void ChangeUserRole(Guid userId)
    {
        // Implementation of changing user role
    }
}
  1. Register the event handler in the module's ConfigureServices method:
public override void ConfigureServices(ServiceConfigurationContext context)
{
    context.Services.AddTransient<ILocalEventHandler<EmailConfirmedEvent>, EmailConfirmedEventHandler>();
}

when the user confirms their email, the system will use the event mechanism to send a welcome message or change the user's role,

But I am not sure if abp has EmailConfirmedEvent so that I can use like this or does it have a similar mechanism?

Thanks

  • ABP Framework version: v8.0.5
  • UI Type: Angular / MVC / Blazor WASM / Blazor Server
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..) / MongoDB
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

What's the client_secret for the swagger ui? by the default the appsettings doesn't have a client_secret for it? I checked the openiddict/applications page, it is a public client but it doesn't work if I leave it blank

Question
  • ABP Framework version: v8.0.5
  • UI Type: MVC
  • Database System: EF Core (SQL Server
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

I am trying to run the react native app on my iphone and android simulator, both are failed with there errors ERROR TypeError: _ReanimatedModule.default.createNode is not a function (it is undefined), js engine: hermes ERROR Invariant Violation: "main" has not been registered. This can happen if:

  • Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
  • A module failed to load due to an error and AppRegistry.registerComponent wasn't called., js engine: hermes

are you still maintaining the react native app?

Question
  • ABP Framework version: v8
  • UI Type: MVC
  • Database System: EF Core + SQL Server
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

We are trying to deploy the AuthServer to an Azure App Service, but we can't make it work. Is there a document that we can use?

Showing 1 to 4 of 4 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 19, 2024, 10:13