-
+ {@render oauthLogin()}
+
diff --git a/web/src/routes/login/+page.ts b/web/src/routes/login/+page.ts
new file mode 100644
index 0000000..fdb8d9d
--- /dev/null
+++ b/web/src/routes/login/+page.ts
@@ -0,0 +1,17 @@
+import {env} from '$env/dynamic/public';
+import type {PageLoad} from './$types';
+
+const apiUrl = env.PUBLIC_API_URL;
+
+
+export const load: PageLoad = async ({fetch}) => {
+ const response = await fetch(apiUrl + '/auth/metadata', {
+ method: 'GET',
+ headers: {
+ 'Content-Type': 'application/json'
+ },
+ credentials: 'include'
+ });
+
+ return {oauthProvider: await response.json()};
+};
\ No newline at end of file