Activities of "Anjali_Musmade"

Answer

Hi,

is project b deployed app and project a is running on local? If you are not using Project B authserver you shouldn't have two different tokens.

Hi,

You don't have to add this line

Below is everything that i have to do to get token with powerbi scope in a new 5.3.4.

is it possible to share your source code on support@abp.io with ticket id or can you create a new template and try this.

Hi

can you try adding a file and below code in the module where you have configure openidconnect, i was able to get the token. https://learn.microsoft.com/en-us/aspnet/core/security/authentication/claims?view=aspnetcore-7.0#extend-or-add-custom-claims-using-iclaimstransformation

using Microsoft.AspNetCore.Authentication;
using System;
using System.Security.Claims;
using System.Security.Principal;
using System.Threading.Tasks;
using Volo.Abp.DependencyInjection;

namespace Acme.BookStore.Web
{
    public class MyClaimsTransformation : IClaimsTransformation, ITransientDependency
    {
        public Task< ClaimsPrincipal > TransformAsync(ClaimsPrincipal principal)
        {
            ClaimsIdentity claimsIdentity = new ClaimsIdentity();
            if (!principal.HasClaim(claim => claim.Type == ClaimTypes.NameIdentifier))
            {
                var value = principal.FindFirst(claim => claim.Type == "http://schemas.microsoft.com/identity/claims/objectidentifier")?.Value;
                if (!value.IsNullOrEmpty())
                {
                    claimsIdentity.AddClaim(new Claim(ClaimTypes.NameIdentifier, value));
                }
                else
                {
                    return Task.FromResult(principal);
                }
            }

            principal.AddIdentityIfNotContains(claimsIdentity);
            return Task.FromResult(principal);
        }
    }

}

Answer

Hi

is it possible for you to share accesstoken that is being used or decoded details from jwt.io?

Answer

Hi

Can you confirm the Project B BlazorServerModule authentication configuration does it points to project A auth server?

appsettings,json

Hi

You can resolve the aut.domain1.com in AUTH server project please see similar implementation and documentation https://docs.abp.io/en/abp/latest/Multi-Tenancy#domain-subdomain-tenant-resolver https://github.com/abpframework/abp-samples/tree/master/DomainTenantResolver

Hi

I am not to reproduce this on my end, is you component ngOnit being invoked when you are not logged in?

Hello AlderCove,

We tried to re-create this issue on scratch project but unable to do so.

PFB Screenshot for the same:

Kindly let us know if there is any alternative way to reproduce the same.

Thank You, Anjali

Hello,

Could you please have look to this ticket for deploying a Blazor Wasm application

https://support.abp.io/QA/Questions/1159/Deploy-Blazor-Web-Assembly

Hi

if you need to create a project with you own custom template then you can go to C:\Users\someuser\ .abp\templates and modify the template like unzip modify and zip it again and then use following command

abp new Acme.BookStore -t app -u mvc --mobile none --database-provider ef --template-source "C:\Users\someuser\.abp\templates"

i am not sure which file you want to edit?

you can edit this files which is used while generation of entity

Showing 1091 to 1100 of 1341 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
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 05, 2025, 09:28