mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
Fixed bearer token not grabbing username.
This commit is contained in:
parent
96100ec2cd
commit
2527c8accc
@ -148,6 +148,9 @@ namespace Teknik
|
||||
|
||||
options.ApiName = config.UserConfig.IdentityServerConfig.APIName;
|
||||
options.ApiSecret = config.UserConfig.IdentityServerConfig.APISecret;
|
||||
|
||||
options.NameClaimType = "username";
|
||||
options.RoleClaimType = JwtClaimTypes.Role;
|
||||
})
|
||||
.AddCookie(options =>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user