🔧 chore: add handle oauth endpoint login
This commit is contained in:
6
shared/widgets/signin/actions/getOauthEndpoint.ts
Normal file
6
shared/widgets/signin/actions/getOauthEndpoint.ts
Normal 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 }>;
|
||||
};
|
||||
Reference in New Issue
Block a user