Hello.
I found something during my process. I logon with admin(with tenant). After that I clicked "login with user" from users.
Users name(defined in creating user) is not coming. I catch this on code side.
- ABP Framework version: v6.0.2
- UI Type: Angular r
- Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
- Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
- Exception message and full stack trace:
- Steps to reproduce the issue:
7 Answer(s)
-
0Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
-
0
hi
Abp users name is not coming in my code when I use currentTenenatUser.username (this code is for sample)
Please check all claims get by
CurrentUser.GetAllClaims. The username is set from claims.Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
-
0
Hello.
Actually 1 to 29. But the other specifications are not connected with users name. I am using IdentityServer by the way.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
hi
Is there a
GivenNameclaim?https://github.com/abpframework/abp/blob/dev/modules/identityserver/src/Volo.Abp.IdentityServer.Domain/Volo/Abp/IdentityServer/AspNetIdentity/AbpUserClaimsFactory.cs#L91
You can add your custom
AbpUserClaimsFactoryas well.builder.Services.AddTransient<IUserClaimsPrincipalFactory<IdentityUser>, MyAbpUserClaimsFactory<IdentityUser>>();Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)



