Desktop oAuth integration

Co-authored-by: RagingLightning <RagingLightningCode@gmail.com>
This commit is contained in:
PxlLoewe
2025-05-09 08:36:01 -07:00
parent 1948d34963
commit 654bdfbbaa
8 changed files with 95 additions and 62 deletions

View File

@@ -9,9 +9,10 @@ export const services = [
},
{
id: "2",
secret: "jp2k430fnv",
service: "desktop",
name: "Desktop client",
approvedUrls: ["var"],
approvedUrls: ["var://oAuth"],
},
{
id: "3",
@@ -26,7 +27,7 @@ export const services = [
];
export type Service = (typeof services)[number];
export default async ({
const Page = async ({
searchParams,
}: {
searchParams: Promise<{ [key: string]: string | string[] | undefined }>;
@@ -43,3 +44,5 @@ export default async ({
return <Authorize service={service} />;
};
export default Page;