Skip to content

Commit a5bd424

Browse files
committed
feat(cms): Enable legal terms customization via Strapi
Because: * We want to enable customization of the legal terms shown for certain clientIds or services This commit: * Adds `LegalTermsConfigurationManager` to query legal terms from Strapi by `clientId` or `service` identifier * Creates GraphQL query, types, and utility classes for legal terms in `libs/shared/cms` * Implements `/cms/legal-terms` REST endpoint in fxa-auth-server with localization support * Integrates FTL translation merging using the same pattern as relying party configs * Adds `useLegalTermsState()` React hook in fxa-settings to fetch legal terms via REST API * Updates `TermsPrivacyAgreement` component to display custom RP legal terms when available * Passes legal terms through Integration layer to Signin/Signup/Index pages Closes #FXA-12371
1 parent af25995 commit a5bd424

39 files changed

Lines changed: 1919 additions & 567 deletions

File tree

libs/shared/cms/src/__generated__/gql.ts

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)