Hi,
i understand that there are ways to delete and add fields on form via form extensions.
How about edit? I want to edit the validation of the username.
I've tried deleting the existing username prop and added a new custom usernameprop but am now having issues when i edit the form.
https://abp.io/docs/latest/framework/ui/angular/dynamic-form-extensions
I've already seen this ticket: https://abp.io/support/questions/7304/Ip-address-in-audit-logs-not-client%27s-ip-address
I've confirmed X-Forwarded-For is correct
I've done the following code changes
In EduverseHttpApiHostModule in OnApplicationInitialization
Hi team,
previously i had followed these instructions to add missing CSS files into our backend ABP https://abp.io/support/questions/8551/Angular-CSS-files
However, they are not working again , my guess its after the update to ABP 9.0.2
you can see in the screenshot that bootstrap-light.css style in my code base is:
but when deployed: (there's no import)
This is my Backend csproj code ->
<Project Sdk="Microsoft.NET.Sdk.Web">
<Import Project="....\common.props" />
<PropertyGroup> <TargetFramework>net9.0</TargetFramework> <Nullable>enable</Nullable> <AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel> <RootNamespace>Eduverse</RootNamespace> <PreserveCompilationReferences>true</PreserveCompilationReferences> </PropertyGroup>
<PropertyGroup Condition=" '$(RunConfiguration)' == 'Eduverse.HttpApi.Host' " />
<ItemGroup> <PackageReference Include="AspNetCore.HealthChecks.UI" Version="9.0.0" /> <PackageReference Include="AspNetCore.HealthChecks.UI.Client" Version="9.0.0" /> <PackageReference Include="AspNetCore.SignalR.OpenTelemetry" Version="1.6.0" /> <PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="9.0.1" /> <PackageReference Include="AspNetCore.HealthChecks.UI.InMemory.Storage" Version="9.0.0" /> <PackageReference Include="OpenTelemetry.Exporter.Console" Version="1.11.1" /> <PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.11.1" /> <PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.11.1" /> <PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.11.0" /> <PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.11.0" /> <PackageReference Include="Owl.TokenWildcardIssuerValidator" Version="1.0.0" /> <PackageReference Include="Serilog.AspNetCore" Version="9.0.0" /> <PackageReference Include="Serilog.Sinks.Async" Version="2.1.0" /> <PackageReference Include="Microsoft.AspNetCore.Authentication.Google" Version="9.0.1" /> <PackageReference Include="Microsoft.AspNetCore.Authentication.MicrosoftAccount" Version="9.0.1" /> <PackageReference Include="Microsoft.AspNetCore.Authentication.Twitter" Version="9.0.1" /> </ItemGroup>
<ItemGroup> <PackageReference Include="Volo.Abp.AspNetCore.MultiTenancy" Version="9.0.2" /> <PackageReference Include="Volo.Abp.Autofac" Version="9.0.2" /> <PackageReference Include="Volo.Abp.AspNetCore.Serilog" Version="9.0.2" /> <PackageReference Include="Volo.Abp.BlobStoring.Aws" Version="9.0.2" /> <PackageReference Include="Volo.Abp.Caching.StackExchangeRedis" Version="9.0.2" /> <PackageReference Include="Volo.Abp.Swashbuckle" Version="9.0.2" /> </ItemGroup>
<ItemGroup> <PackageReference Include="Volo.Abp.Account.Pro.Public.Web.OpenIddict" Version="9.0.2" /> <PackageReference Include="Volo.Abp.Account.Pro.Public.Web.Impersonation" Version="9.0.2" /> </ItemGroup>
<ItemGroup> <PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX" Version="4.0.3" /> </ItemGroup>
<ItemGroup> <ProjectReference Include="..\Eduverse.Application\Eduverse.Application.csproj" /> <ProjectReference Include="..\Eduverse.HttpApi\Eduverse.HttpApi.csproj" /> <ProjectReference Include="..\Eduverse.EntityFrameworkCore\Eduverse.EntityFrameworkCore.csproj" /> </ItemGroup>
<ItemGroup> <PackageReference Include="Volo.Abp.Studio.Client.AspNetCore" Version="0.9.19" /> </ItemGroup>
<ItemGroup Condition="Exists('./openiddict.pfx')"> <None Remove="openiddict.pfx" /> <EmbeddedResource Include="openiddict.pfx"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </EmbeddedResource> </ItemGroup>
<ItemGroup> <Compile Remove="Logs*" /> <Content Remove="Logs*" /> <EmbeddedResource Remove="Logs*" /> <None Remove="Logs*" /> </ItemGroup> <ItemGroup> <Content Include="Pages**.js"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> <Content Include="Pages**.css"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> </ItemGroup> <ItemGroup> <Content Include="Themes**.js"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> <Content Include="Themes**.css"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> </ItemGroup> </Project>
Hi team,
we have recently upgraded from 8.x.x to 9.0.5.
However the login with this tenant button from host-admin account seems to be gone.
we used to be able to use "Login with this tenant"
Thank you.
Hi, we noticed that language texts have to be changed in each tenant.
Is there a way to set it platform wide? ie. changing the language text in Host will be applicable for all Tenants.
Thanks.
Intended flow:
public virtual async Task AutoRegisterUserAsync(string email, CustomSaasTenantDto tenant)
{
using (_currentTenant.Change(tenant.Id))
{
var existingUser = await _userManager.FindByEmailAsync(email);
// Check if the user already exists
if (existingUser == null)
{
// Create a new user
var newUser = new IdentityUser(
_guidGenerator.Create(),
email,
email,
tenant.Id // Assign the user to the tenant
);
var result = await _userManager.CreateAsync(newUser);
if (result.Succeeded)
{
// Optionally assign roles to the user
await _userManager.AddToRoleAsync(newUser, DefaultRoleConsts.Learner);
}
}
}
}
After user is created, he should be able to login again with SSO.
User should not be able to login with password as no password was set as part of the SSO onboarding flow
Actual:
Hi team,
I have angular front end but my login pages are built on MVC.
During deployment, i notice the CSS files that i've changed in the backend are not being reflected, the default bootstrap files are still being loaded (https://idp.preprod.eduverse.vision/Account/Login) - you can view in the network tab that the below css new code is not being deployed (colours are still blue).
I've added these code to /Themes/LeptonX/Global/side-menu/css/bootstrap-light.css
However on my local it is working correctly.
How do i solve this issue?
Our application uses the AbpHub for establishing a SignalR connecdtion with the FE. Behind a corporate firewall, the websockets transport layer is often blocked. The expectation is that SignalR should fallback to a different transport type (ServerSentEvents or LongPolling) however this does not seem to be the case
Using a minimal asp.net core application, the fallback mechanism works. However using a minimal ABP framework project the fallback does not work. Let me know if you need a sample projedt.
Thanks
Hi i've downloaded the angular gdpr source code using abp get-source Volo.Abp.Gdpr
However am facing some issues on the extensions.resolver.ts
file
Business requirement: We need to connect to 3rd party services (OpenAI) via connection sting and API key. Each tenant would have their own connection sting and API key. However if not defined on the tenant level, we need to fallback to a host-defined connection string and API key.
Question: Would settings module be suitable for handling this use case or would it be better add new columns to the SaasTenant table to track the connection string and API keys? We need the API keys to be encrypted if it is being stored in the Database. Would need your support on the optimal solution for this requirement
Thank you