Hi Support,
I'm Abhishek and i'm working on ABP Commercial Microservice Template
I have a requirement
Now what I need that I need that user to login in this method Login is completed with Password Less Authentication and user is logged in Auth server and what I need is I need to redirect back That User in Angular with logged in state,
So I'm Confused at this point that how do I set my return URL and where do I set , How do I redirect back that user from my SSO to Angular How do I attach return URL once user is successfully login.
How can be redirect to angular with user auto login after confirm email????
I hope someone help me asap as I'm really looking solution for this on a priority.
Thanks. :)
I am facing following issue a) Unable to add below dependency injection in MenuController.
public class MenuController : AbpController, IDataMenuAppService { private readonly IDataMenuAppService _dataMenuAppService;
public MenuController(IDataMenuAppService dataMenuAppService)
{
_dataMenuAppService = dataMenuAppService;
}
} b) Unable to generate proxies in csharp.
On server side :-
Hi,
Here's the log file for send email You can check here
[administration-service_627d2497-e]: System.Net.Mail.SmtpException: Failure sending mail.
[administration-service_627d2497-e]: ---> System.Net.Sockets.SocketException (10060): A connection attempt failed because the connected party did not properly respond after a period of time,or established connection failed because connected host has failed to respond.
[administration-service_627d2497-e]: at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
[administration-service_627d2497-e]: at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
[administration-service_627d2497-e]: at System.Threading.Tasks.ValueTask.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state)
[administration-service_627d2497-e]: --- End of stack trace from previous location ---
[administration-service_627d2497-e]: at System.Threading.Tasks.TaskToApm.End(IAsyncResult asyncResult)
[administration-service_627d2497-e]: at System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult)
[administration-service_627d2497-e]: at System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.InitializeConnectionCallback(IAsyncResult result)
[administration-service_627d2497-e]: --- End of stack trace from previous location ---
[administration-service_627d2497-e]: at System.Net.Mail.SmtpClient.ConnectCallback(IAsyncResult result)
[administration-service_627d2497-e]: --- End of inner exception stack trace ---
[administration-service_627d2497-e]: at Volo.Abp.Emailing.Smtp.SmtpEmailSender.SendEmailAsync(MailMessage mail)
[administration-service_627d2497-e]: at Volo.Abp.Emailing.EmailSenderBase.SendAsync(MailMessage mail, Boolean normalize)
[administration-service_627d2497-e]: at Volo.Abp.Emailing.EmailSenderBase.SendAsync(String from, String to, String subject, String body, Boolean isBodyHtml)
[administration-service_627d2497-e]: at Volo.Abp.SettingManagement.EmailSettingsAppService.SendTestEmailAsync(SendTestEmailInput input)
[administration-service_627d2497-e]: at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous(IInvocation invocation, IInvocationProceedInfo proceedInfo)
[administration-service_627d2497-e]: at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapter.ProceedAsync()
[administration-service_627d2497-e]: at Volo.Abp.GlobalFeatures.GlobalFeatureInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
[administration-service_627d2497-e]: at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 proceed)
[administration-service_627d2497-e]: at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous(IInvocation invocation, IInvocationProceedInfo proceedInfo)
[administration-service_627d2497-e]: at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapter.ProceedAsync()
[administration-service_627d2497-e]: at Volo.Abp.Authorization.AuthorizationInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
[administration-service_627d2497-e]: at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 proceed)
[administration-service_627d2497-e]: at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous(IInvocation invocation, IInvocationProceedInfo proceedInfo)
[administration-service_627d2497-e]: at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapter.ProceedAsync()
[administration-service_627d2497-e]: at Volo.Abp.Auditing.AuditingInterceptor.ProceedByLoggingAsync(IAbpMethodInvocation invocation, AbpAuditingOptions options, IAuditingHelper auditingHelper, IAuditLogScope auditLogScope)
[administration-service_627d2497-e]: at Volo.Abp.Auditing.AuditingInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
[administration-service_627d2497-e]: at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 proceed)
[administration-service_627d2497-e]: at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous(IInvocation invocation, IInvocationProceedInfo proceedInfo)
[administration-service_627d2497-e]: at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapter.ProceedAsync()
[administration-service_627d2497-e]: at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
[administration-service_627d2497-e]: at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 proceed)
[administration-service_627d2497-e]: at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous(IInvocation invocation, IInvocationProceedInfo proceedInfo)
[administration-service_627d2497-e]: at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapter.ProceedAsync()
[administration-service_627d2497-e]: at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
[administration-service_627d2497-e]: at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 proceed)
[administration-service_627d2497-e]: at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
[administration-service_627d2497-e]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Logged|12_1(ControllerActionInvoker invoker)
[administration-service_627d2497-e]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
[administration-service_627d2497-e]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
[administration-service_627d2497-e]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
[administration-service_627d2497-e]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
[administration-service_627d2497-e]: at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
[administration-service_627d2497-e]: [12:37:12 INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
[administration-service_627d2497-e]: [12:37:12 INF] Executed action Volo.Abp.SettingManagement.EmailSettingsController.SendTestEmailAsync (Volo.Abp.SettingManagement.HttpApi) in 21144.5908ms
[administration-service_627d2497-e]: [12:37:12 INF] Executed endpoint 'Volo.Abp.SettingManagement.EmailSettingsController.SendTestEmailAsync (Volo.Abp.SettingManagement.HttpApi)'
[administration-service_627d2497-e]: [12:37:12 DBG] Added 0 entity changes to the current audit log
[administration-service_627d2497-e]: [12:37:12 INF] Request finished HTTP/1.1 POST https://localhost:44367/api/setting-management/emailing/send-test-email application/json 124 - 500 - application/json;+charset=utf-8 21156.0068ms
I am new in ABP Framework I just need to deploy my microservice template into azure kubernetes as I have not that much idea on Azure side as well can anyone help me to deploy my Microservice angular template and auth server as I have spend more then 2+ weeks in this, This is the place I need help how to host.
I have already created my Microservise Database in Azure need help on next step that how to create pods and nodes, and how to push docker local image to azure.
hi
I got still same error.