feat: introducing server configurations in admin dashboard (#3628)

Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
This commit is contained in:
Joel Jacob Stephen
2023-12-13 22:34:59 +05:30
committed by GitHub
parent a8cc569786
commit f3edd001d7
22 changed files with 1007 additions and 29 deletions

View File

@@ -227,4 +227,9 @@ export const auth = {
window.location.href = import.meta.env.VITE_ADMIN_URL;
}
},
getAllowedAuthProviders: async () => {
const res = await authQuery.getProviders();
return res.data?.providers;
},
};