Activities of "maliming"

hi

The framework will automatically get and send the bearer token when you inject the Application Service in Blazor.

So use IRemoteStreamContent in your app service and inject it in your blazor

You can try to add the code to your Identity Server project. Update the RootUrl of the Client, or update the identity server's data tables.

You can migrate the demo project to check the identity server's data tables.

https://github.com/abpframework/abp-samples/blob/master/DomainTenantResolver/MVC-TIERED/src/Acme.BookStore.DbMigrator/appsettings.json#L10

context.Services.AddAbpStrictRedirectUriValidator();
context.Services.AddAbpClientConfigurationValidator();
context.Services.AddAbpWildcardSubdomainCorsPolicyService();
Configure<AbpTenantResolveOptions>(options =>
{
    options.AddDomainTenantResolver("{0}.test.mydomain.com");
});

Refunded : )

public async Task ApplyDatabaseMigrationsAsync(Guid id)

Where is the override keyword?

If you can give advice me on adding 3 new string properties in SaasTenantCreateDto which I want to Insert into SaasTenantConnectionStrings table.

You can consider adding the source code of Saas to your project. Or use Object Extensions https://docs.abp.io/en/abp/latest/Object-Extensions

SaasTenantCreateDto has implemented ExtensibleObject

hi

What is your current design?

HI @agilmore

You can check this demo. https://github.com/abpframework/abp-samples/tree/master/DomainTenantResolver

https://github.com/abpframework/abp-samples/blob/master/DomainTenantResolver/MVC-TIERED/src/Acme.BookStore.IdentityServer/BookStoreIdentityServerModule.cs#L55-L61

Is it possible to retrieve the Bearer Access token? Or is it not possible due to security requirements.

Can you show a case?

Add MyHttpContextIdentityModelRemoteServiceHttpClientAuthenticator to your blazor app.

using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Http.Client.IdentityModel.Web;
using Volo.Abp.IdentityModel;

namespace BlazorServerSignalRTest.Blazor;

[Dependency(ReplaceServices = true)]
public class MyHttpContextIdentityModelRemoteServiceHttpClientAuthenticator : HttpContextIdentityModelRemoteServiceHttpClientAuthenticator
{
    public MyHttpContextIdentityModelRemoteServiceHttpClientAuthenticator(IIdentityModelAuthenticationService identityModelAuthenticationService)
        : base(identityModelAuthenticationService)
    {
    }

    protected override async Task<string> GetAccessTokenFromHttpContextOrNullAsync()
    {
        var httpContext = HttpContextAccessor?.HttpContext;
        if (httpContext == null)
        {
            return null;
        }

        var token = await httpContext.GetTokenAsync("access_token");
        if (token == null)
        {
            var authenticateResult  = await httpContext.AuthenticateAsync("Cookies");
            if (authenticateResult.Succeeded)
            {
                token = authenticateResult.Properties.GetTokenValue("access_token");
            }
        }

        return token;
    }

}

Our Angular team will get back to you.

hi

You should be able to compile DbMigrator in CI/CD and replace the connection string etc, and finally run it.

Showing 8111 to 8120 of 10645 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 12, 2025, 10:20