⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.
TypeScript agenticagileai-agentsbug-reportingbug-trackerganttissue-trackerjirajira-alternativekanbanlinearlinear-alternativeopen-sourceproduct-managementproject-managementroadmapself-hostedsprint-planningteam-collaborationtrello-alternative
'use client';
import ListSkeleton from '@/components/common/skeleton/ListSkeleton';
import GodAuthProviderForm from './components/auth-provider/GodAuthProviderForm';
import GodSectionPage from './components/GodSectionPage';
import {
useInstanceGoogleSettingsQuery,
useInstanceOidcSettingsQuery,
} from './services/god.service';
// The sign-in providers: Google and the instance's own OIDC server. Two settings
// rows rather than one, so this page loads both before the form can compare against
// them. GodSettingsGate takes a single query, which is why the gate is spelled out.
export default function GodAuthProviderPage() {
const google = useInstanceGoogleSettingsQuery();
const oidc = useInstanceOidcSettingsQuery();
if (!google.data || !oidc.data) {
return (
<GodSectionPage slug="auth-provider">
<ListSkeleton rows={5} rowClassName="h-12" />
</GodSectionPage>
);
}
// Keyed on the loaded state: a save replaces the cache entries, so the form
// remounts with fresh initial values instead of a stale "dirty" comparison.
return (
<GodAuthProviderForm
key={`${JSON.stringify(google.data)}|${JSON.stringify(oidc.data)}`}
googleSettings={google.data}
oidcSettings={oidc.data}
/>
);
}