Unable to switch Authentication from Refresh token to Authorization Code (Standard)

Created on 30 June 2025, 12 days ago

Problem/Motivation

At present, users cannot switch the authentication method from one type to another; for instance, transitioning from the more secure Refresh Token to the standard Authorization Code. This limitation occurs because the setting appears to be disabled.

Steps to reproduce

  • Enable the Acquia DAM module on your Drupal site.
  • Visit configuration page (/admin/config/acquia-dam)
  • Authenticate the site using the refresh token authentication option.
  • Disconnect the current authentication.
  • Observe that the option to switch back to standard authentication is disabled and cannot be selected.

Proposed resolution

When a user authenticates the site using one method—either standard or token—the alternative option should be disabled. Once the user de-authenticated, both options will be re-enabled, allowing customers to select either authentication method.

Remaining tasks

Allow customer to switch the authentication (Refer existing code) and update the test cases, if exits.

🐛 Bug report
Status

Active

Version

1.1

Component

Code

Created by

🇮🇳India chandu7929 Pune

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024