🔧 chore: add handle oauth endpoint login

This commit is contained in:
2026-01-07 23:28:07 +07:00
parent 28cd3178b9
commit 77eeaf1adc
4 changed files with 38 additions and 4 deletions

View File

@ -0,0 +1,6 @@
"use client";
import { backendFetch, BackendResponse } from "@/shared/helper/backendFetch";
export const getOauthEndpoint = async (url: string) => {
return (await backendFetch(url)) as BackendResponse<{ endpointUrl: string }>;
};