Activités de "Dev2ng"

Hi,

I am implementing the azure AD SSO using open id connect. By default abp framework has provided the implementation.

In this we see one button at the bottom of the login page of AuthServer project like this:-

abp_sso.PNG

But in our use case, we are using angular as frontend and at the time of initial load of the Angular App we don't want to show this login page and then on next step clicking on the "Azure AD OpenId" button to get the sso done.

we need this button's url to be hit on the initial load of the Angular app to get the sso done.

we can see some form submission on the button click to Account/login, but don't know how to control the flow.

Please provide assistance, hoping for quick response. Thanks !!

Hi,

I am getting azureAdProvider as null in this.

var azureAdProvider = VisibleExternalProviders.First();

Hi,

I am using abp suite to create Angular tiered app, after doing the initial migration and running the DB update,

when I try to run the AuthServer project it gives me error :-

An unhandled exception occurred while processing the request. AbpException: Could not find the bundle file '/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js' for the bundle 'Basic.Global'! Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpTagHelperResourceService.ProcessAsync(ViewContext viewContext, TagHelper tagHelper, TagHelperContext context, TagHelperOutput output, List<BundleTagHelperItem> bundleItems, string bundleName)

running the command "abp install-libs" does not work.

Please provide solution.

Thank you !! It's working fine.

Hi,

We have two Angular Apps one is AdminApp and another is XyzApp, we have some menus defined in XyzApp lets say "BookStore".

We need the user access permissions to be managed at the AdminApp for this "BookStore" menu inside XyzApp.

We have separate AuthServer for AdminApp.

Please provide the solution.

Thanks !!

  • ABP Framework version: v7.2.2
  • 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:"

Hi,

I have integrated chat module as shown in the doc https://docs.abp.io/en/commercial/latest/modules/chat.

I have used abp suite to do the same. The tables and APIs are created, I can also see the chat enable section inside the feature management.

But even after enabling that, no chat icon is shown in the Angular app.

Please provide solution. Thanks !!

Yes, I granted the permission. The RabbitMQ connection is showing, but when the Angular application loads, it shows this error:-

Image Below:-

WebSocket connection to 'wss://localhost:44323/signalr-hubs/chat?id=isMKv729M1Bs3s5qSCO9Ow&access_token=eyJ....

failed: (anonymous) @ WebSocketTransport.js:55 Utils.js:147 [2023-07-07T13:29:26.345Z] Information: (WebSockets transport) There was an error with the transport. Utils.js:141 [2023-07-07T13:29:26.348Z] Error: Failed to start the transport 'WebSockets': Error: WebSocket failed to connect. The connection could not be found on the server, either the endpoint may not be a SignalR endpoint, the connection ID is not present on the server, or there is a proxy blocking WebSockets. If you have multiple servers check that sticky sessions are enabled. log @ Utils.js:141 :44323/signalr-hubs/chat?id=oOssLLGplq2oOzEe4zJTkA&access_token=eyJ....

Failed to load resource: the server responded with a status of 401 () Utils.js:141 [2023-07-07T13:29:26.419Z] Error: Failed to start the transport 'ServerSentEvents': Error: EventSource failed to connect. The connection could not be found on the server, either the connection ID is not present on the server, or a proxy is refusing/buffering the connection. If you have multiple servers check that sticky sessions are enabled.

  • ABP Framework version: v7.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace: Application Failed To Start

Hi,

I am deploying the app to windows IIS server after doing the package deploy, its giving error:- application failed to start,

Do I need to install ABP CLI and login on the server machine or any kind of certificate or key needs to be installed ?

Please provide the steps to do so.

Thanks !!

Hi,

I tried above solutions, but now when we hit the url the application pool stops deliberately.

The error is shown 503 service unavailable.

these are the logs:-

2023-08-24 12:17:40.677 +01:00 [INF] Starting .AuthServer.AuthServer.

2023-08-24 12:17:42.427 +01:00 [FTL] .AuthServer.AuthServer terminated unexpectedly!

Volo.Abp.AbpInitializationException: An error occurred during ConfigureServicesAsync phase of the module Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule, Volo.Abp.OpenIddict.AspNetCore, Version=7.2.2.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details.

---> System.IO.FileNotFoundException: Signing Certificate couldn't found: C:\inetpub\wwwroot\DealPipelineUAT\authserver.pfx

at .AuthServer.AuthServerAuthServerModule.GetSigningCertificate(IWebHostEnvironment hostingEnv, IConfiguration configuration) in C:\Users\cmohanty\Source\Repos\DealPipeline\IdentityModule\src.AuthServer.AuthServer\AuthServerAuthServerModule.cs:line 313

at .AuthServer.AuthServerAuthServerModule.<>c__DisplayClass0_0.<PreConfigureServices>b__2(OpenIddictServerBuilder builder) in C:\Users\cmohanty\Source\Repos\DealPipeline\IdentityModule\src.AuthServer.AuthServer\AuthServerAuthServerModule.cs:line 94

at Volo.Abp.Options.PreConfigureActionList`1.Configure(TOptions options)

at Microsoft.Extensions.DependencyInjection.ServiceCollectionPreConfigureExtensions.ExecutePreConfiguredActions[TOptions](IServiceCollection services, TOptions options)

at Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule.<>c__DisplayClass1_0.

at Microsoft.Extensions.DependencyInjection.OpenIddictServerExtensions.AddServer(OpenIddictBuilder builder, Action`1 configuration)

at Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule.AddOpenIddictServer(IServiceCollection services)

at Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule.ConfigureServices(ServiceConfigurationContext context)

at Volo.Abp.Modularity.AbpModule.ConfigureServicesAsync(ServiceConfigurationContext context)

at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync()

--- End of inner exception stack trace ---

at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync()

at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action`1 optionsAction)

at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action`1 optionsAction)

at Microsoft.Extensions.DependencyInjection.WebApplicationBuilderExtensions.AddApplicationAsync[TStartupModule](WebApplicationBuilder builder, Action`1 optionsAction)

Affichage de 1 à 10 sur 28 entrées
Made with ❤️ on ABP v8.2.0-preview Updated on mars 25, 2024, 15:11