patchBay

AEM Content Fragment APIs vs Clerk

If you need a Authentication & Authorization API that's easy to integrate, go with Clerk.

AEM Content Fragment APIs

These control-plane APIs are used to fully manage the Content Fragments and their associated Models.

Clerk

Drop-in React components for authentication and authorization

AEM Content Fragment APIs

  • Simple API key authentication
  • HTTPS supported

Clerk

  • Simple API key authentication
  • HTTPS supported
  • CORS enabled for frontend use
FeatureAEM Content Fragment APIsClerk
AuthenticationapiKeyapiKey
HTTPSYesYes
CORSUnknownYes

When to use which?

Clerk works directly from the browser with CORS enabled, making it better for frontend-only apps.