This commit is contained in:
Arunavo Ray
2025-07-26 22:06:29 +05:30
parent 0920314679
commit 5f45a9a03d
7 changed files with 459 additions and 86 deletions

View File

@@ -35,8 +35,8 @@ export function useAuthMethods() {
const loadAuthMethods = async () => {
try {
// Check SSO providers
const providers = await apiRequest<any[]>('/sso/providers').catch(() => []);
// Check SSO providers - use public endpoint since this is used on login page
const providers = await apiRequest<any[]>('/sso/providers/public').catch(() => []);
const applications = await apiRequest<any[]>('/sso/applications').catch(() => []);
setAuthMethods({