Starts in:
1 DAY
5 HRS
38 MIN
16 SEC
Starts in:
1 D
5 H
38 M
16 S

Activities of "hiteshsahu"

Hi,

  • ABP Framework version: v7.0.1
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

We have integrated the custom login page in angular and we want to integrate the microsoft(Any third party) login into our custom login page but i did not find any useful information

I have checked the following blog but found nothing https://community.abp.io/posts/how-to-setup-azure-active-directory-and-integrate-abp-angular-application-lyk87w5l

I want to have microsoft login into my custom login page same available in the authserver

*** Authserver **

  • CustomLoginPage

Do let me know if you require any further information

Hi

Check the docs before asking a question: https://docs.abp.io/en/abp/latest/Modules/Docs

ABP Framework version: 7.0.1 UI type: MVC DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): Exception message and stack trace:

I am trying to configure the document module for FileSystem

i have added the Module from abp suite and backend has been integrated

when i run the application and go to the document it shows the following error

Volo.Abp.Check.NotNullOrWhiteSpace(string value, string parameterName, int maxLength, int minLength) Volo.Docs.Documents.Document..ctor(Guid id, Guid projectId, string name, string version, string languageCode, string fileName, string content, string format, string editLink, string rootUrl, string rawRootUrl, string localDirectory, DateTime creationTime, DateTime lastUpdatedTime, DateTime lastCachedTime, Nullable<DateTime> lastSignificantUpdateTime) Volo.Docs.FileSystem.Documents.FileSystemDocumentSource.GetDocumentAsync(Project project, string documentName, string languageCode, string version, Nullable<DateTime> lastKnownSignificantUpdateTime) Volo.Docs.Documents.DocumentAppService.GetDocumentAsync(string documentName, Project project, string languageCode, string version, Document oldDocument) Volo.Docs.Documents.DocumentAppService.GetDocumentWithDetailsDtoAsync(Project project, string documentName, string languageCode, string version) Volo.Docs.Documents.DocumentAppService.GetDefaultAsync(GetDefaultDocumentInput input) Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous<TResult>(IInvocation invocation, IInvocationProceedInfo proceedInfo) Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue<TResult>.ProceedAsync() Volo.Abp.GlobalFeatures.GlobalFeatureInterceptor.InterceptAsync(IAbpMethodInvocation invocation) Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter<TInterceptor>.InterceptAsync<TResult>(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func<IInvocation, IInvocationProceedInfo, Task<TResult>> proceed) Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous<TResult>(IInvocation invocation, IInvocationProceedInfo proceedInfo) Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue<TResult>.ProceedAsync() Volo.Abp.Auditing.AuditingInterceptor.ProceedByLoggingAsync(IAbpMethodInvocation invocation, AbpAuditingOptions options, IAuditingHelper auditingHelper, IAuditLogScope auditLogScope) Volo.Abp.Auditing.AuditingInterceptor.InterceptAsync(IAbpMethodInvocation invocation) Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter<TInterceptor>.InterceptAsync<TResult>(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func<IInvocation, IInvocationProceedInfo, Task<TResult>> proceed) Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous<TResult>(IInvocation invocation, IInvocationProceedInfo proceedInfo) Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue<TResult>.ProceedAsync() Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation) Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter<TInterceptor>.InterceptAsync<TResult>(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func<IInvocation, IInvocationProceedInfo, Task<TResult>> proceed) Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous<TResult>(IInvocation invocation, IInvocationProceedInfo proceedInfo) Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue<TResult>.ProceedAsync() Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation) Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter<TInterceptor>.InterceptAsync<TResult>(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func<IInvocation, IInvocationProceedInfo, Task<TResult>> proceed) Volo.Docs.Pages.Documents.Project.IndexModel.GetSpecificDocumentOrDefaultAsync(string languageCode) Volo.Docs.Pages.Documents.Project.IndexModel.SetDocumentAsync() Volo.Docs.Pages.Documents.Project.IndexModel.SetPageAsync() Volo.Docs.Pages.Documents.Project.IndexModel.OnGetAsync() Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.ExecutorFactory+GenericTaskHandlerMethod.Convert<T>(object taskAsObject) Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.ExecutorFactory+GenericTaskHandlerMethod.Execute(object receiver, object[] arguments) Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeHandlerMethodAsync() Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeNextPageFilterAsync() Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.Rethrow(PageHandlerExecutedContext context) Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted) Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeInnerFilterAsync() Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object state, bool isCompleted) Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ExceptionContextSealed context) Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted) Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object state, bool isCompleted) Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context) Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted) Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object state, bool isCompleted) Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker) Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker) Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) Volo.Abp.AspNetCore.Serilog.AbpSerilogMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+<>c__DisplayClass6_1+<<UseMiddlewareInterface>b__1>d.MoveNext() Volo.Abp.AspNetCore.Auditing.AbpAuditingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) Volo.Abp.AspNetCore.Auditing.AbpAuditingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+<>c__DisplayClass6_1+<<UseMiddlewareInterface>b__1>d.MoveNext() Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext) Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) Volo.Abp.AspNetCore.Uow.AbpUnitOfWorkMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+<>c__DisplayClass6_1+<<UseMiddlewareInterface>b__1>d.MoveNext() Volo.Abp.AspNetCore.ExceptionHandling.AbpExceptionHandlingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) Volo.Abp.AspNetCore.ExceptionHandling.AbpExceptionHandlingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+<>c__DisplayClass6_1+<<UseMiddlewareInterface>b__1>d.MoveNext() Volo.Abp.AspNetCore.MultiTenancy.MultiTenancyMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+<>c__DisplayClass6_1+<<UseMiddlewareInterface>b__1>d.MoveNext() Microsoft.AspNetCore.Builder.ApplicationBuilderAbpOpenIddictMiddlewareExtension+<>c__DisplayClass0_0+<<UseAbpOpenIddictValidation>b__0>d.MoveNext() Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) Volo.Abp.AspNetCore.Security.AbpSecurityHeadersMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+<>c__DisplayClass6_1+<<UseMiddlewareInterface>b__1>d.MoveNext() Volo.Abp.AspNetCore.Tracing.AbpCorrelationIdMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+<>c__DisplayClass6_1+<<UseMiddlewareInterface>b__1>d.MoveNext() Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context) Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+<>c__DisplayClass6_1+<<UseMiddlewareInterface>b__1>d.MoveNext() Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)

**Also abp suite created the new migration which has 3 tables **

[dbo].[DocsDocuments] [dbo].[DocsDocumentContributors] [dbo].[DocsProjects]

there is Insert query available for DocsProjects table inside the document( https://docs.abp.io/en/abp/latest/Modules/Docs) but what about remaining 2 tables.

can you please help me out

thank you

HI,

ABP Framework version: 7.0.1 UI type: Angular DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): yes Exception message and stack trace: Steps to reproduce the issue:"

I am having issue when i try to confirm my email address i am getting invalid token issue

i found that in the token + is converting to \u002B

  1. below token which send with email confirmation request CfDJ8LXriWteL1JAq37fwddNTQoU0gQtV4tOOS9oe7VVk1rmYUUSLYJNbXtSkoHM2vP2PMOekW1KvIzeZKtEM8XCK/lhcU2BP9kZqvK0ARjxElDB8I6Ue7cA0HCf3nHEZcLzn0sQDP9Sy9HnjRzU7HchLKPO+0MxPIF2T3jOPGoZxzVaCqDKm6SgxllbgSiJpeGur0vs42DR2wPPN5nXwEq/W6pf2wHAuJReGlkrn+eXO0gsxgDdTUf7rA8qnCJzGx1U6w==

2.below token is received at server
CfDJ8LXriWteL1JAq37fwddNTQp\u002Bh3s5u30kApOd8WHgsoBSXhjCTrhgXQeyx87JkAt6i9yZhDxpOWZMZBpUAeGgVfF/GJ4LvqzZFr0nGZUdQPKiBhnBNbg4LTeycK1FbAPWhKSOlYQUuaOQ/22Ptx\u002BilhUOh79p3HxnpGJS\u002B8yu1JzzcqauMKA7MRmy8DTaq1xIkYurx17kfjwuhkuTXVVdPDmcALV/Ou2lidMOCc9\u002BAjk0e72tHmHqAUw2VglRxh9eyw==

AuthserverLogs

[19:05:44 INF] Executed action Volo.Abp.Account.AccountController.ConfirmEmailAsync (Volo.Abp.Account.Pro.Public.HttpApi) in 2757.4976ms [19:05:44 INF] Executed endpoint 'Volo.Abp.Account.AccountController.ConfirmEmailAsync (Volo.Abp.Account.Pro.Public.HttpApi)' [19:05:44 DBG] Added 0 entity changes to the current audit log [19:05:44 INF] AUDIT LOG: [204: POST ] /api/account/confirm-email - UserName - UserId : AjazRathod - f8362771-14f3-97fc-4949-3a0b21877e05 - ClientIpAddress : ::1 - ExecutionDuration : 2758 - Actions:  - Volo.Abp.Account.AccountAppService.ConfirmEmailAsync (2752 ms.)  {"input":{"userId":"f8362771-14f3-97fc-4949-3a0b21877e05","token":"CfDJ8LXriWteL1JAq37fwddNTQp\u002Bh3s5u30kApOd8WHgsoBSXhjCTrhgXQeyx87JkAt6i9yZhDxpOWZMZBpUAeGgVfF/GJ4LvqzZFr0nGZUdQPKiBhnBNbg4LTeycK1FbAPWhKSOlYQUuaOQ/22Ptx\u002BilhUOh79p3HxnpGJS\u002B8yu1JzzcqauMKA7MRmy8DTaq1xIkYurx17kfjwuhkuTXVVdPDmcALV/Ou2lidMOCc9\u002BAjk0e72tHmHqAUw2VglRxh9eyw=="}  - Volo.Abp.Account.AccountController.ConfirmEmailAsync (2753 ms.)  {"input":{"userId":"f8362771-14f3-97fc-4949-3a0b21877e05","token":"CfDJ8LXriWteL1JAq37fwddNTQp\u002Bh3s5u30kApOd8WHgsoBSXhjCTrhgXQeyx87JkAt6i9yZhDxpOWZMZBpUAeGgVfF/GJ4LvqzZFr0nGZUdQPKiBhnBNbg4LTeycK1FbAPWhKSOlYQUuaOQ/22Ptx\u002BilhUOh79p3HxnpGJS\u002B8yu1JzzcqauMKA7MRmy8DTaq1xIkYurx17kfjwuhkuTXVVdPDmcALV/Ou2lidMOCc9\u002BAjk0e72tHmHqAUw2VglRxh9eyw=="}  [19:05:44 ERR] claim is empty or token is invalid. TrackingId:e34be745-9e8d-4f07-8495-0b9335edbf77_G25, SystemTracker:orderline.servicebus.windows.net:NxP_Local, Timestamp:2023-10-19T14:38:18 Status: 401 (Unauthorized)  Content: <Error><Code>401</Code><Detail>claim is empty or token is invalid. TrackingId:e34be745-9e8d-4f07-8495-0b9335edbf77_G25, SystemTracker:orderline.servicebus.windows.net:NxP_Local, Timestamp:2023-10-19T14:38:18</Detail></Error>  Headers: Transfer-Encoding: chunked ETag: 638102400516570000 Server: Microsoft-HTTPAPI/2.0 Strict-Transport-Security: REDACTED Date: Thu, 19 Oct 2023 14:38:17 GMT Content-Type: application/xml; charset=utf-8  System.UnauthorizedAccessException: claim is empty or token is invalid. TrackingId:e34be745-9e8d-4f07-8495-0b9335edbf77_G25, SystemTracker:orderline.servicebus.windows.net:NxP_Local, Timestamp:2023-10-19T14:38:18 Status: 401 (Unauthorized)  Content: <Error><Code>401</Code><Detail>claim is empty or token is invalid. TrackingId:e34be745-9e8d-4f07-8495-0b9335edbf77_G25, SystemTracker:orderline.servicebus.windows.net:NxP_Local, Timestamp:2023-10-19T14:38:18</Detail></Error>  Headers: Transfer-Encoding: chunked ETag: 638102400516570000 Server: Microsoft-HTTPAPI/2.0 Strict-Transport-Security: REDACTED Date: Thu, 19 Oct 2023 14:38:17 GMT Content-Type: application/xml; charset=utf-8   ---> Azure.RequestFailedException: claim is empty or token is invalid. TrackingId:e34be745-9e8d-4f07-8495-0b9335edbf77_G25, SystemTracker:orderline.servicebus.windows.net:NxP_Local, Timestamp:2023-10-19T14:38:18 Status: 401 (Unauthorized)  Content: <Error><Code>401</Code><Detail>claim is empty or token is invalid. TrackingId:e34be745-9e8d-4f07-8495-0b9335edbf77_G25, SystemTracker:orderline.servicebus.windows.net:NxP_Local, Timestamp:2023-10-19T14:38:18</Detail></Error>  Headers: Transfer-Encoding: chunked ETag: 638102400516570000 Server: Microsoft-HTTPAPI/2.0 Strict-Transport-Security: REDACTED Date: Thu, 19 Oct 2023 14:38:17 GMT Content-Type: application/xml; charset=utf-8   --- End of inner exception stack trace ---  at Azure.Messaging.ServiceBus.Administration.HttpRequestAndResponse.ThrowIfRequestFailedAsync(Request request, Response response)  at Azure.Messaging.ServiceBus.Administration.HttpRequestAndResponse.SendHttpRequestAsync(Request request, CancellationToken cancellationToken)  at Azure.Messaging.ServiceBus.Administration.HttpRequestAndResponse.GetEntityAsync(String entityPath, String query, Boolean enrich, CancellationToken cancellationToken)  at Azure.Messaging.ServiceBus.Administration.ServiceBusAdministrationClient.TopicExistsAsync(String name, CancellationToken cancellationToken)  at Volo.Abp.AzureServiceBus.ServiceBusAdministrationClientExtensions.SetupTopicAsync(ServiceBusAdministrationClient client, String topicName)  at Volo.Abp.AzureServiceBus.PublisherPool.GetAsync(String topicName, String connectionName)  at Volo.Abp.EventBus.Azure.AzureDistributedEventBus.PublishAsync(String eventName, Byte[] body, Nullable1 eventId)  at Volo.Abp.EventBus.Azure.AzureDistributedEventBus.PublishToEventBusAsync(Type eventType, Object eventData)  at Volo.Abp.EventBus.Distributed.DistributedEventBusBase.PublishAsync(Type eventType, Object eventData, Boolean onUnitOfWorkComplete, Boolean useOutbox)  at Volo.Abp.EventBus.UnitOfWorkEventPublisher.PublishDistributedEventsAsync(IEnumerable1 distributedEvents)  at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)  at Volo.Abp.AspNetCore.Uow.AbpUnitOfWorkMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)  at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext() --- End of stack trace from previous location ---  at Volo.Abp.AspNetCore.ExceptionHandling.AbpExceptionHandlingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) [19:05:44 INF] Request finished HTTP/2 POST https://localhost:44322/api/account/confirm-email application/json 324 - 500 - application/json 3076.0365ms

Kindly help me to resolve this issue

Thank you.

Hi,

I am having issue when i logout to my application it is redirect to the Authserver (e.g https://localhost:44322), but it should be redirect to my custom login page (e.g http://localhost:4300/account/login)

I have already integrated the custom login page and my login is been performed from http://localhost:4300/account/login url

I have read the documentations and articles but found nothing related to this.

ABP Framework version: 7.0.1 UI type: Angular DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): yes Exception message and stack trace: Steps to reproduce the issue:"

Showing 1 to 4 of 4 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06