feat: test-auth

This commit is contained in:
thomas
2024-03-28 21:39:55 +01:00
parent e8ecec98f0
commit 990e173d67
8 changed files with 132 additions and 15 deletions

View File

@@ -0,0 +1,12 @@
const GITHUB_OAUTH_AUTHORIZE_URL = 'https://github.com/login/oauth/authorize';
export async function GET({params, request}) {
console.log('Authorized', params);
return new Response({
status: 302,
path: `/`,
});
}