API: v11.1.0 | Client: v11.1.0 Angular .net core
In mobile app as of now ,there is no support for entering email and pwd without tenancy name.I would like to have support for mail id and pwd authentication without tenancy name as mail ids will be unique across all tenancy . Please guide.
API: v11.1.0 | Client: v11.1.0 Angular .net core
Can the host(userId:1) see other users that were created by other tenants?
as of now while creating tenant its validates only whether tenant name is already taken or not. when we try to check the email address already taken or not for tenants we faced issue that await CreateAsync(tenant) function not editable. is there any other methods available for checking tenant email id already exists or not?
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
Hi,
I have created a new widget component and I have widgetID mapped with this componet.Now i want to add multiple widget (of same component) with different data. There is an existing reference in manager.component.html using ngcomponentOutlet.In CustomizableDashboardComponent also ngcomponentOutlet is used .But in the same ,my requirement is to call same widget with different data.Please guide.
Thanks RenuSolutions
Hi,
Please mention the file to configure the SMTP settings.
Thanks AnyCollect
Hi,
Please find the below logs.
ERROR 2022-07-27 11:55:43,888 [orker] Mvc.ExceptionHandling.AbpExceptionFilter - An attempt was made to access a socket in a way forbidden by its access permissions.
System.Net.Sockets.SocketException (10013): An attempt was made to access a socket in a way forbidden by its access permissions.
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Threading.Tasks.ValueTask.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.TaskToApm.End(IAsyncResult asyncResult)
at MailKit.Net.SocketUtils.ConnectAsync(String host, Int32 port, IPEndPoint localEndPoint, Boolean doAsync, CancellationToken cancellationToken)
at MailKit.Net.SocketUtils.ConnectAsync(String host, Int32 port, IPEndPoint localEndPoint, Int32 timeout, Boolean doAsync, CancellationToken cancellationToken)
at MailKit.MailService.ConnectNetwork(String host, Int32 port, Boolean doAsync, CancellationToken cancellationToken)
at MailKit.Net.Smtp.SmtpClient.ConnectAsync(String host, Int32 port, SecureSocketOptions options, Boolean doAsync, CancellationToken cancellationToken)
at MailKit.Net.Smtp.SmtpClient.Connect(String host, Int32 port, SecureSocketOptions options, CancellationToken cancellationToken)
at Abp.MailKit.DefaultMailKitSmtpBuilder.ConfigureClient(SmtpClient client)
at AnyCollect.Net.Emailing.AnyCollectMailKitSmtpBuilder.ConfigureClient(SmtpClient client) in C:\Users\Dell\Documents\GitHub\AnyCollect_WEB\aspnet-core\src\AnyCollect.Core\Net\Emailing\AnyCollectMailKitSmtpBuilder.cs:line 19
at Abp.MailKit.DefaultMailKitSmtpBuilder.Build()
at Abp.MailKit.MailKitEmailSender.BuildSmtpClient()
at Abp.MailKit.MailKitEmailSender.SendEmailAsync(MailMessage mail)
at Abp.Net.Mail.EmailSenderBase.SendAsync(MailMessage mail, Boolean normalize)
at AnyCollect.Authorization.Users.UserEmailer.ReplaceBodyAndSend(String emailAddress, String subject, StringBuilder emailTemplate, StringBuilder mailMessage) in C:\Users\Dell\Documents\GitHub\AnyCollect_WEB\aspnet-core\src\AnyCollect.Core\Authorization\Users\UserEmailer.cs:line 360
at AnyCollect.Authorization.Users.UserEmailer.<>c__DisplayClass12_0.<<SendEmailActivationLinkAsync>b__0>d.MoveNext() in C:\Users\Dell\Documents\GitHub\AnyCollect_WEB\aspnet-core\src\AnyCollect.Core\Authorization\Users\UserEmailer.cs:line 124
--- End of stack trace from previous location ---
at Abp.Domain.Uow.UnitOfWorkManagerExtensions.WithUnitOfWorkAsync(IUnitOfWorkManager manager, Func1 action, UnitOfWorkOptions options) at AnyCollect.Authorization.Users.UserEmailer.SendEmailActivationLinkAsync(User user, String link, String plainPassword) in C:\Users\Dell\Documents\GitHub\AnyCollect_WEB\aspnet-core\src\AnyCollect.Core\Authorization\Users\UserEmailer.cs:line 78 at AnyCollect.MultiTenancy.TenantManager.CreateWithAdminUserAsync(String tenancyName, String name, String adminPassword, String adminEmailAddress, String connectionString, Boolean isActive, Nullable
1 editionId, Boolean shouldChangePasswordOnNextLogin, Boolean sendActivationEmail, Nullable1 subscriptionEndDate, Boolean isInTrialPeriod, String emailActivationLink) in C:\Users\Dell\Documents\GitHub\AnyCollect_WEB\aspnet-core\src\AnyCollect.Core\MultiTenancy\TenantManager.cs:line 176 at AnyCollect.MultiTenancy.TenantAppService.CreateTenant(CreateTenantInput input) in C:\Users\Dell\Documents\GitHub\AnyCollect_WEB\aspnet-core\src\AnyCollect.Application\MultiTenancy\TenantAppService.cs:line 59 at lambda_method3098(Closure , Object ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask
1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
Hi ,
i am trying to create a new tenant from the default user.It gives internal server error. Please help me through this.
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
I am using rhe existng API to get the user Info using "UserManager.FindByIdAsync(usrId)". For user id 1 it is giving proper info. But for other user ids(eg-2/3/4) its giving null response.Please guide me through this.
Thanks Dhivya