1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-04 14:31:48 +00:00
Files
pocket-id/frontend/src/routes/device/+page.server.ts
Kyle Mendell 22f7d64bf0 feat: device authorization endpoint (#270)
Co-authored-by: Elias Schneider <login@eliasschneider.com>
2025-04-25 12:14:51 -05:00

10 lines
175 B
TypeScript

import type { PageServerLoad } from './$types';
export const load: PageServerLoad = async ({ url }) => {
const code = url.searchParams.get('code');
return {
code
};
};