#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere
TypeScript dockerhacktoberfestjavapdfpdf-converterpdf-editorpdf-manipulationpdf-mergerpdf-ocrpdf-toolspdf-web-appspdfmergerself-hosted
/** Checkout uses the account session installed by the validated owner connection flow. */
export async function getAccessToken(): Promise<string | null> {
// Dynamic import: the portal session module registers Supabase auth listeners
// and would otherwise sit on the startup path of every build.
const { getPortalSaasToken } =
await import("@editor/portal/auth/portalSaasSession");
return getPortalSaasToken();
}