Problem/Motivation

As a user of the Acquia DAM (Digital Asset Management) system, I want the Support Key module to be configured so that sites can automatically utilize DAM. This will enhance the user experience by streamlining access to digital assets without requiring repetitive authentication processes.

Acceptance Criteria:

  1. The Support Key module must store user tokens similar to the existing media_acquiadam implementation.
  2. The system should allow sites to automatically access DAM resources using the stored tokens.
  3. User authentication must still be required through OAuth, ensuring secure access to the DAM.
  4. The implementation should be tested to confirm that it meets the above requirements without introducing any security vulnerabilities.

Implementation Details

  1. Add a new radio button to select key based authentication, allowing you to use the Key module as the storage mechanism for DAM api key.
  2. Create a simple authentication key that allows users to insert their domain and api token.
  3. When key is being used, the authenticate button does not redirect to Acquia DAM, instead it just saves the page and verifies the key works.
  4. Ensure when making client requests, if the key select option is chosen, grab the api key from Key instead of DAM’s config.
  5. Verify the functionality with tests.

Issue fork acquia_dam-3542084

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

rajeshreeputra created an issue. See original summary.

rajeshreeputra’s picture

Status: Needs work » Needs review

Requesting review.

japerry’s picture

Status: Needs review » Needs work

Added comments in the MR

rajeshreeputra’s picture

Status: Needs work » Needs review

Requesting review.

japerry’s picture

Status: Needs review » Fixed

Done! Note, this introduces Key support, but still allows for config based key management as well. In a future release, key will be required, but not yet. If there are issues using Key, feel free to post the issue you're having in here or make a new one!

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.