@@ -65,7 +65,7 @@ export class LegacyUserIdentity implements IdentityApi {
|
||||
return {
|
||||
type: 'user',
|
||||
userEntityRef: sub,
|
||||
ownershipEntityRefs: ent ?? [sub],
|
||||
ownershipEntityRefs: ent ?? [],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -22,6 +22,8 @@ function parseJwtPayload(token: string) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @public
|
||||
*
|
||||
* Parses token and decorates the BackstageIdentityResponse with identity information sourced from the token
|
||||
*/
|
||||
export function decorateWithIdentity(
|
||||
|
||||
Reference in New Issue
Block a user