forwardToOwner: (
req: any,
grant: any,
session: any,
) => Promise<
{
finished: { owner: boolean } & (
| {
none: boolean;
pushed?: undefined;
redirect?: undefined;
why?: undefined;
}
| {
none?: undefined;
pushed?: undefined;
redirect: string;
why?: undefined;
}
| {
none?: undefined;
pushed: boolean;
redirect?: undefined;
why: string;
}
);
queued: boolean;
},
> = ...
The person at the approval page is not the user the request named: where approval by an absent owner is on, the grant goes to the named owner's portal instead of being decided here, and the interaction is finished so the client continues and polls (RFC 9635 sections 1.4 and 2.4). Null where it does not apply — the person is the one named, or the setting is off and the page answers
unknown_useras before.