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
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);
}
}
}
Hi
is it possible for you to share accesstoken that is being used or decoded details from jwt.io?
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,
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