To use Acquia DAM (Widen) with a Drupal site, authentication happens across two distinct levels:
Site authentication: Establishes a secure connection between your Drupal site and your Acquia DAM (Widen) instance with an API access token.
User authentication: Enables individual Drupal users to authorize with Acquia DAM (Widen) to browse and select assets directly from Drupal.
Site authentication is mandatory. Acquia
Digital Asset Management
, or DAM, module version 1.1.20 and later provides additional access options:
Authenticate a site with an Acquia DAM
To use Acquia DAM (Widen) with a Drupal site, authentication happens across two distinct levels:
Site authentication: Establishes a secure connection between your Drupal site and your Acquia DAM (Widen) instance with an API access token.
User authentication: Enables individual Drupal users to authorize with Acquia DAM (Widen) to browse and select assets directly from Drupal.
Site authentication is mandatory. Acquia
Digital Asset Management
, or DAM, module version 1.1.20 and later provides additional access options:
Single site authentication: Users with designated roles access DAM assets through shared site-level credentials without individual authorization. Users lacking these assigned roles must continue to authorize individually.
Offline media selection: Users select from existing imported DAM assets without DAM authentication. This option provides quick access to assets already imported into Drupal, whereas live DAM browsing requires authentication.
Authenticate the Drupal site with Acquia DAM (Widen)
Site authentication allows your Drupal site to communicate with Acquia DAM (Widen) with the API access token you generated in the Acquia DAM (Widen).
Prerequisites
You have generated an API access token in Acquia DAM (Widen) and stored it securely.
You know your Acquia DAM (Widen) domain, for example, https://yourcompany.acquiadam.com.
Choose your authentication method (version 1.1.20+)
The Acquia DAM module supports two methods for storing and managing your site-level API access token. You can choose the method that best fits your security and workflow requirements.
Token-based authentication (default)
Log in to your Drupal site as an administrator.
In the administrative menu, go to Configuration > Media > Acquia DAM, or navigate directly to: /admin/config/acquia-dam.
In the Acquia DAM (Widen) domain field, enter your Acquia DAM (Widen) domain.
Select Authenticate Site.
After the request completes, the Acquia DAM (Widen) configuration page displays a status message that indicates whether the site authentication succeeded or failed.
Key-based authentication with Key module
Key-based authentication stores your Application Programming Interface (API) access token in Key module for centralized secret management and supports Key module integrations with external key management systems.
Best for: Multi-site installations, environments with centralized secret management, or compliance requirements for secure credential storage.
To authenticate your site with key-based authentication: Refer to Authenticate Acquia DAM with Key module for detailed instructions on how to create a key entity and configure Acquia Digital Asset Management (DAM) module to use key-based authentication.
Verify and troubleshoot site authentication
On success, you should see a confirmation message that the site is authenticated with Acquia DAM (Widen). You can now proceed to configure image styles, metadata, and other module settings.
If authentication fails, check the following:
Access token
Confirm you entered the complete API access token with no leading or trailing spaces.
Verify that the token has not been removed or expired in Acquia DAM (Widen).
Acquia DAM (Widen) domain
Confirm that the domain matches your Acquia DAM (Widen) instance exactly.
Use the format indicated in the field description.
Permissions
Ensure that the user account associated with the token has the appropriate permissions in Acquia DAM (Widen).
Single site authentication enables you to configure role-based access. Users with specific roles can access DAM assets through site-level credentials and do not require individual user authentication. This feature simplifies access management for teams while maintaining site-level authentication security.
Prerequisites
Before you configure single site authentication, ensure the following requirements are met:
Acquia DAM module version 1.1.20 or later is installed.
Your site is authenticated with Acquia DAM. Site-level authentication must be complete.
You have the administer acquia_dam permission.
Configure single site authentication
To enable single site authentication, complete these steps:
Go to Configuration > Media > Acquia DAM, or navigate directly to: /admin/config/acquia-dam.
In the Single Site Authentication Mode section, select the Enable single site authentication mode checkbox.
Under Allowed roles, select the roles that should bypass individual authentication.
The system displays only roles with the create media permission.
Users with selected roles access DAM assets through site-level credentials and do not require individual authentication.
Users without selected roles must perform individual authentication.
Select Save single site authentication settings.
Important considerations
Asset access and tracking:
Users in allowed roles access assets through site-level credentials.
Individual user tracking in DAM is not available for these users because they share site credentials.
DAM analytics cannot distinguish which specific Drupal user accessed an asset.
Role-based behavior:
If you remove a role from the allowed list, users with that role receive a prompt to authenticate individually the next time they open the Media Library.
Single site authentication is an additional option built on top of site-level credentials, so site authentication remains necessary.
Configuration recommendations:
Review role assignments carefully before you enable this feature, and assign only trusted roles that use shared site credentials.
Users in non-allowed roles authenticate with their own DAM accounts, so media-library activity can be attributed to them individually.
The feature is disabled by default. Existing sites that upgrade to version 1.1.20 or later continue to work without changes.
An allowed role’s effective DAM access is the access of the account associated with the site token, which can be broader or narrower than the user’s own DAM account. Review the token account’s DAM permissions before enabling, and assign only trusted roles.
Backward compatibility:
Existing user tokens remain valid.
The module selects the correct authentication method based on role membership.
To disable this feature, clear Enable single site authentication mode and select Save single site authentication settings. Users in those roles then return to individual authentication.
Offline media selection enables users to select from existing imported DAM assets without DAM authentication. When enabled, a third source option opens in the Media Library, which gives users access to DAM entities already imported into your Drupal site.
Prerequisites
Before you configure offline media selection, ensure the following requirements are met:
Acquia DAM module version 1.1.20 or later is installed.
Your site is authenticated with Acquia DAM, and site-level authentication is complete.
You have the administer acquia_dam permission.
DAM media entities are imported into your site. This feature provides access to existing entities only.
Configure offline media selection
To enable offline media selection, complete the following steps:
Go to Configuration > Media > Acquia DAM, or navigate directly to: /admin/config/acquia-dam.
In the Offline Media Selection section, select the Enable offline media selection check box.
Optional: Add a custom notice in the Custom notice for offline selection field. This message displays after users select the Acquia DAM Local Assets source with no available entities.
Select Save offline selection settings.
How it works
After offline media selection is enabled:
A third source option, Acquia DAM Local Assets, opens in the Media Library source selector alongside Acquia DAM and Media Types.
Users can select from DAM media entities that already exist in Drupal without individual DAM authentication.
The Media Library displays imported entities only. Users cannot browse or search the live DAM catalog from this source.
Asset metadata and thumbnails display from data stored in Drupal at the time of import.
Important considerations
Access and authentication:
Users can access imported DAM assets without DAM authentication, but site-level authentication must remain active.
This feature does not bypass Drupal permissions. Users must have the create media permission to use the Media Library.
If you disconnect your site from DAM, the system disables this feature.
Asset availability:
Media entities previously imported from DAM appear in the Acquia DAM Local Assets source only.
New assets added to DAM do not appear until they are imported into Drupal through the Acquia DAM source.
Asset version updates, deletions, or expirations in DAM do not display in the offline selection view. Users select the entity as it exists in Drupal.
When to use this feature:
Teams must reuse existing DAM assets without individual DAM authentication for every content editor.
Content editors work primarily with a stable library of imported assets rather than the full DAM catalog.
You must combine live DAM browsing for authenticated users with quick access to commonly used imported assets for all users.
Disable offline media selection
To disable offline media selection, complete the following steps:
Go to Configuration > Media > Acquia DAM, or navigate directly to: /admin/config/acquia-dam.
Clear the Enable offline media selection check box.
Select Save offline selection settings.
This removes the Acquia DAM Local Assets source option from the Media Library. Users with that source stored in their preferences directly access the source selector to select from the remaining available sources.
Authenticate a Drupal user with Acquia DAM (Widen)
User authentication allows individual Drupal users to authorize access to Acquia DAM (Widen) under their own account. This is required for users who need to browse and select Acquia DAM (Widen) assets within the Drupal Media Library.
To authenticate a user:
Log in to your Drupal application.
Navigate to your user profile page. By default, this is: /user.
In your profile, click the Acquia DAM (Widen) and then click the Authorize to authenticate with Acquia DAM (Widen) and follow prompts in the authorization flow.
A new tab opens and loads the DAM. Once you are logged in, the system requests permission to allow the integration. Select Allow.
After the authorization completes, the user can browse and select Acquia DAM (Widen) assets in supported Drupal interfaces such as the Media Library, subject to their permissions in Acquia DAM (Widen).
Verify and troubleshoot user authentication
If a user cannot see expected assets or receives authorization errors:
Confirm that site authentication has been completed successfully at /admin/config/acquia-dam.
Ask the user to return to the Acquia DAM (Widen) tab on their profile and click Authorize again to refresh their authorization.
Verify that the user’s account in Acquia DAM (Widen) has permission to view the assets they expect to see.
For more information on authentication behavior and permissions, visit the troubleshooting checklist in the support and resources section.
Single site authentication: Users with designated roles access DAM assets through shared site-level credentials without individual authorization. Users lacking these assigned roles must continue to authorize individually.
Offline media selection: Users select from existing imported DAM assets without DAM authentication. This option provides quick access to assets already imported into Drupal, whereas live DAM browsing requires authentication.
Authenticate the Drupal site with Acquia DAM (Widen)
Site authentication allows your Drupal site to communicate with Acquia DAM (Widen) with the API access token you generated in the Acquia DAM (Widen).
Prerequisites
You have generated an API access token in Acquia DAM (Widen) and stored it securely.
You know your Acquia DAM (Widen) domain, for example, https://yourcompany.acquiadam.com.
Choose your authentication method (version 1.1.20+)
The Acquia DAM module supports two methods for storing and managing your site-level API access token. You can choose the method that best fits your security and workflow requirements.
Token-based authentication (default)
Log in to your Drupal site as an administrator.
In the administrative menu, go to Configuration > Media > Acquia DAM, or navigate directly to: /admin/config/acquia-dam.
In the Acquia DAM (Widen) domain field, enter your Acquia DAM (Widen) domain.
Select Authenticate Site.
After the request completes, the Acquia DAM (Widen) configuration page displays a status message that indicates whether the site authentication succeeded or failed.
Key-based authentication with Key module
Key-based authentication stores your Application Programming Interface (API) access token in Key module for centralized secret management and supports Key module integrations with external key management systems.
Best for: Multi-site installations, environments with centralized secret management, or compliance requirements for secure credential storage.
To authenticate your site with key-based authentication: Refer to Authenticate Acquia DAM with Key module for detailed instructions on how to create a key entity and configure Acquia Digital Asset Management (DAM) module to use key-based authentication.
Verify and troubleshoot site authentication
On success, you should see a confirmation message that the site is authenticated with Acquia DAM (Widen). You can now proceed to configure image styles, metadata, and other module settings.
If authentication fails, check the following:
Access token
Confirm you entered the complete API access token with no leading or trailing spaces.
Verify that the token has not been removed or expired in Acquia DAM (Widen).
Acquia DAM (Widen) domain
Confirm that the domain matches your Acquia DAM (Widen) instance exactly.
Use the format indicated in the field description.
Permissions
Ensure that the user account associated with the token has the appropriate permissions in Acquia DAM (Widen).
Network connectivity
Check that your Drupal environment can reach the Acquia DAM (Widen) domain (no firewall or proxy-blocking outbound requests).
Single site authentication enables you to configure role-based access. Users with specific roles can access DAM assets through site-level credentials and do not require individual user authentication. This feature simplifies access management for teams while maintaining site-level authentication security.
Prerequisites
Before you configure single site authentication, ensure the following requirements are met:
Acquia DAM module version 1.1.20 or later is installed.
Your site is authenticated with Acquia DAM. Site-level authentication must be complete.
You have the administer acquia_dam permission.
Configure single site authentication
To enable single site authentication, complete these steps:
Go to Configuration > Media > Acquia DAM, or navigate directly to: /admin/config/acquia-dam.
In the Single Site Authentication Mode section, select the Enable single site authentication mode checkbox.
Under Allowed roles, select the roles that should bypass individual authentication.
The system displays only roles with the create media permission.
Users with selected roles access DAM assets through site-level credentials and do not require individual authentication.
Users without selected roles must perform individual authentication.
Select Save single site authentication settings.
Important considerations
Asset access and tracking:
Users in allowed roles access assets through site-level credentials.
Individual user tracking in DAM is not available for these users because they share site credentials.
DAM analytics cannot distinguish which specific Drupal user accessed an asset.
Role-based behavior:
If you remove a role from the allowed list, users with that role receive a prompt to authenticate individually the next time they open the Media Library.
Single site authentication is an additional option built on top of site-level credentials, so site authentication remains necessary.
Configuration recommendations:
Review role assignments carefully before you enable this feature, and assign only trusted roles that use shared site credentials.
Users in non-allowed roles authenticate with their own DAM accounts, so media-library activity can be attributed to them individually.
The feature is disabled by default. Existing sites that upgrade to version 1.1.20 or later continue to work without changes.
An allowed role’s effective DAM access is the access of the account associated with the site token, which can be broader or narrower than the user’s own DAM account. Review the token account’s DAM permissions before enabling, and assign only trusted roles.
Backward compatibility:
Existing user tokens remain valid.
The module selects the correct authentication method based on role membership.
To disable this feature, clear Enable single site authentication mode and select Save single site authentication settings. Users in those roles then return to individual authentication.
Offline media selection enables users to select from existing imported DAM assets without DAM authentication. When enabled, a third source option opens in the Media Library, which gives users access to DAM entities already imported into your Drupal site.
Prerequisites
Before you configure offline media selection, ensure the following requirements are met:
Acquia DAM module version 1.1.20 or later is installed.
Your site is authenticated with Acquia DAM, and site-level authentication is complete.
You have the administer acquia_dam permission.
DAM media entities are imported into your site. This feature provides access to existing entities only.
Configure offline media selection
To enable offline media selection, complete the following steps:
Go to Configuration > Media > Acquia DAM, or navigate directly to: /admin/config/acquia-dam.
In the Offline Media Selection section, select the Enable offline media selection check box.
Optional: Add a custom notice in the Custom notice for offline selection field. This message displays after users select the Acquia DAM Local Assets source with no available entities.
Select Save offline selection settings.
How it works
After offline media selection is enabled:
A third source option, Acquia DAM Local Assets, opens in the Media Library source selector alongside Acquia DAM and Media Types.
Users can select from DAM media entities that already exist in Drupal without individual DAM authentication.
The Media Library displays imported entities only. Users cannot browse or search the live DAM catalog from this source.
Asset metadata and thumbnails display from data stored in Drupal at the time of import.
Important considerations
Access and authentication:
Users can access imported DAM assets without DAM authentication, but site-level authentication must remain active.
This feature does not bypass Drupal permissions. Users must have the create media permission to use the Media Library.
If you disconnect your site from DAM, the system disables this feature.
Asset availability:
Media entities previously imported from DAM appear in the Acquia DAM Local Assets source only.
New assets added to DAM do not appear until they are imported into Drupal through the Acquia DAM source.
Asset version updates, deletions, or expirations in DAM do not display in the offline selection view. Users select the entity as it exists in Drupal.
When to use this feature:
Teams must reuse existing DAM assets without individual DAM authentication for every content editor.
Content editors work primarily with a stable library of imported assets rather than the full DAM catalog.
You must combine live DAM browsing for authenticated users with quick access to commonly used imported assets for all users.
Disable offline media selection
To disable offline media selection, complete the following steps:
Go to Configuration > Media > Acquia DAM, or navigate directly to: /admin/config/acquia-dam.
Clear the Enable offline media selection check box.
Select Save offline selection settings.
This removes the Acquia DAM Local Assets source option from the Media Library. Users with that source stored in their preferences directly access the source selector to select from the remaining available sources.
Authenticate a Drupal user with Acquia DAM (Widen)
User authentication allows individual Drupal users to authorize access to Acquia DAM (Widen) under their own account. This is required for users who need to browse and select Acquia DAM (Widen) assets within the Drupal Media Library.
To authenticate a user:
Log in to your Drupal application.
Navigate to your user profile page. By default, this is: /user.
In your profile, click the Acquia DAM (Widen) and then click the Authorize to authenticate with Acquia DAM (Widen) and follow prompts in the authorization flow.
A new tab opens and loads the DAM. Once you are logged in, the system requests permission to allow the integration. Select Allow.
After the authorization completes, the user can browse and select Acquia DAM (Widen) assets in supported Drupal interfaces such as the Media Library, subject to their permissions in Acquia DAM (Widen).
Verify and troubleshoot user authentication
If a user cannot see expected assets or receives authorization errors:
Confirm that site authentication has been completed successfully at /admin/config/acquia-dam.
Ask the user to return to the Acquia DAM (Widen) tab on their profile and click Authorize again to refresh their authorization.
Verify that the user’s account in Acquia DAM (Widen) has permission to view the assets they expect to see.
For more information on authentication behavior and permissions, visit the troubleshooting checklist in the support and resources section.
Did not find what you were looking for?
If this content did not answer your questions, try searching or contacting our support team for further assistance.
Network connectivity
Check that your Drupal environment can reach the Acquia DAM (Widen) domain (no firewall or proxy-blocking outbound requests).
Did not find what you were looking for?
If this content did not answer your questions, try searching or contacting our support team for further assistance.