mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-12 22:03:03 -05:00
feat: test-auth
This commit is contained in:
12
docs/src/pages/auth/authorized.js
Normal file
12
docs/src/pages/auth/authorized.js
Normal 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: `/`,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user