Fix DMP user ownership error
This commit is contained in:
parent
7cba7b2346
commit
093837c395
|
@ -19,6 +19,7 @@ export interface AppPrincipalInfo{
|
||||||
notBefore: Date;
|
notBefore: Date;
|
||||||
authenticatedAt: Date;
|
authenticatedAt: Date;
|
||||||
expiresAt: Date;
|
expiresAt: Date;
|
||||||
|
userId: Guid;
|
||||||
more: Record<string, string[]>
|
more: Record<string, string[]>
|
||||||
}
|
}
|
||||||
export interface UserProfileInfo {
|
export interface UserProfileInfo {
|
||||||
|
|
|
@ -125,9 +125,9 @@ export class AuthService extends BaseService {
|
||||||
if (
|
if (
|
||||||
this.appAccount &&
|
this.appAccount &&
|
||||||
this.appAccount.principal &&
|
this.appAccount.principal &&
|
||||||
this.appAccount.principal.subject
|
this.appAccount.principal.userId
|
||||||
) {
|
) {
|
||||||
return this.appAccount.principal.subject;
|
return this.appAccount.principal.userId;
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue