Yes, I know the oAuth flow by default in general,
But I am trying to have better user experience for users based on modern login currently known on mobile apps,
I thought I can login on mobile through external login (google or apple id or SMS OTP) and then send related tokens to backend where the abp custom controller will validate the token then (login or register) and generate a new token for that user.
same like I can have the similar experience on angular where I can customize the account module so the experience will be the same
Please let me know what are the drawback of this solution, and is it doable on ABP ?
Updated:
https://drive.google.com/file/d/1vQTsEMRmB9gVlrf1OqAYlnfw-K0WyU3u/view?usp=sharing
Done:
Updated Log:
https://drive.google.com/file/d/1Uwib25_aYeCnefpyUzAS2crUDT39vpUT/view?usp=sharing
Waiting for your response
Yes It was solved, Thank you
The solution was to create a reference for identity service module (not the administration service module)
using : https://docs.abp.io/en/commercial/latest/startup-templates/microservice/synchronous-interservice-communication
The solution was to create a reference for identity service module (not the administration service module)
using : https://docs.abp.io/en/commercial/latest/startup-templates/microservice/synchronous-interservice-communication
Thank you for your prompt answer!
Please provide me with more details, I cannot find IPermissionIntegrationService I searched for it all my solution, Not sure which dependency should I use,
And finally Plaese provide with a blog or documentation reference for that is possible
Thank you
Hi,
Did not work, Please note that:
And I tried to create a new project with the same setup I got the same error
I could make this work by using the following code:
public override void PostConfigureServices(ServiceConfigurationContext context) { var configuration = context.Services.GetConfiguration(); var serverName = configuration.GetValue<string>("Schedule:ServerName"); var workerCount = configuration.GetValue<int>("Schedule:WorkerCount"); if (!string.IsNullOrEmpty(serverName) && workerCount > 0) { Configure<AbpHangfireOptions>(options => { options.ServerOptions = new BackgroundJobServerOptions { WorkerCount = workerCount, ServerName = serverName, Queues = new string[] { "default" , "logs"}, }; }); } base.PostConfigureServices(context); }
Still cannot limit the execution time for job instance, so any job does not work more than 5 minutes for example
Thank you for your response, Can you provide me more details about the first point:
Typically there is only one hangfire server per application instance, you can use AbpHangfireOptions to create hangfire server instance if you want.
Currently I add hangfire using the following code:
GlobalConfiguration.Configuration.UseSqlServerStorage(configuration.GetConnectionString("Default-hangfire"));
context.Services.AddHangfire(config =>
{
config.UseSqlServerStorage(configuration.GetConnectionString("Default-hangfire"), options: ops);
});
Thank you