🎨 format oauth provider list

fixing the list format on oauth login.
This commit is contained in:
2025-08-24 14:20:10 +07:00
parent a5e3af9367
commit eaf6a4de8e
4 changed files with 38 additions and 45 deletions

View File

@ -1,9 +0,0 @@
"use server";
import { api } from "@/shared/api/connector";
const getGoogleAuthUrl = async () => {
const res = await api.get(`debug`);
return res.json();
};
export default getGoogleAuthUrl;

View File

@ -0,0 +1,9 @@
"use server";
import { api } from "@/shared/api/connector";
const getOauthProviderList = async () => {
const res = await api.get(`auth/providers`);
return res.json();
};
export default getOauthProviderList;