index.tsx 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. import { Badge } from 'ui'
  2. import {
  3. PageSection,
  4. PageSectionAside,
  5. PageSectionContent,
  6. PageSectionDescription,
  7. PageSectionMeta,
  8. PageSectionSummary,
  9. PageSectionTitle,
  10. } from 'ui-patterns/PageSection'
  11. import { CustomAuthProvidersList } from './CustomAuthProvidersList'
  12. import { DocsButton } from '@/components/ui/DocsButton'
  13. import { DOCS_URL } from '@/lib/constants'
  14. export const CustomAuthProviders = () => {
  15. return (
  16. <PageSection id="custom-providers">
  17. <PageSectionMeta>
  18. <PageSectionSummary>
  19. <div className="flex items-center gap-x-2">
  20. <PageSectionTitle>Custom Providers</PageSectionTitle>
  21. <Badge variant="success">New</Badge>
  22. </div>
  23. <PageSectionDescription>
  24. Configure OAuth/OIDC providers for this project using your own issuer or endpoints.
  25. </PageSectionDescription>
  26. </PageSectionSummary>
  27. <PageSectionAside>
  28. <DocsButton href={`${DOCS_URL}/guides/auth/custom-oauth-providers`} />
  29. </PageSectionAside>
  30. </PageSectionMeta>
  31. <PageSectionContent>
  32. <CustomAuthProvidersList />
  33. </PageSectionContent>
  34. </PageSection>
  35. )
  36. }