@orangecheck/auth-client / familyReturnTarget
Function: familyReturnTarget()
function familyReturnTarget(input: string | null | undefined): string | undefined;
Defined in: signin.tsx:223
Family-aware return target. Accepts a same-origin relative path
(exactly like safeReturnTo) OR an absolute https:// URL on
ochk.io / *.ochk.io — mirroring the auth host's own post-signin
redirect allowlist. Returns undefined when the input is neither, so
callers can layer fallbacks.
Parameters
| Parameter | Type |
|---|---|
input | string | null | undefined |
Returns
string | undefined