Function: useAuthConfig()
useAuthConfig():
object
Defined in: packages/api-client/src/use-auth.ts:44
Which sign-in methods the backend has enabled (booleans only, no secrets), so the login page can offer Google and/or the preview-only test login instead of a dead button (#346).
Returns
object
config
config:
NoInfer<{adminUrl:string|null;boolean;testLogin:boolean;testLoginRequiresPassword:boolean; }> |null
isError
isError:
boolean=query.isError
isLoading
isLoading:
boolean=query.isPending