Skip to main content
API Reference / modelence / client / parseDeepLinkParams
parseDeepLinkParams(url): Record<string, string>
Defined in: packages/modelence/src/auth/client/deepLink.ts:18 Reads query parameters out of a deep link such as myapp://auth?code=abc. Only the query component is considered — everything from the first ? up to an optional # fragment. Values are percent-decoded, with + treated as a space to match application/x-www-form-urlencoded, which is how the server’s URL.searchParams.set encodes them.

Parameters

Returns

Record<string, string>