Files
alfresco-ng2-components/lib/core
copilot-swe-agent[bot] 39eba35ffb refactor(auth): replace IAM header interceptor with HEAD request to app root for time sync
Instead of passively reading the Date header from IAM responses (which
requires IAM to be reachable and has CORS constraints), the TimeSyncService
now makes a lightweight HEAD request to the application's own root URL
(served by nginx). This is simpler and more reliable because:

- No CORS issues (same origin)
- Nginx always includes a Date header
- HEAD request has minimal payload (no body)
- Works before authentication is established
- No dedicated serverTimeUrl configuration needed

The DateHeaderTimeSyncInterceptor has been removed as it is no longer needed.
2026-07-03 13:41:58 +00:00
..
2026-01-09 18:17:43 +00:00

Alfresco Core Library

Contains a variety of components, directives and services used throughout ADF

Documentation

See the ADF Core section of the docs index for all available documentation on this library.

Prerequisites

Before you start using this development framework, make sure you have installed all required software and done all the necessary configuration, see this page.

If you plan using this component with projects generated by Angular CLI, please refer to the following article: Using ADF with Angular CLI

Install

npm install @alfresco/adf-core

Storybook

In case you would like to aggregate all the stories from core library use

nx run core:storybook

And navigate to http://localhost:4400/.

To create a Storybook core library build use

nx run core:build-storybook

License

Apache Version 2.0