Problem/Motivation

Hi,

It seems when we use acquia_optimize and services_api_key_auth modules together, it will lead to access denied issues when submitting the acquia optimize API settings form. This is due to services_api_key_auth module looking for "api_key" and tinkering with authentication process. Which leads to access denied for our settings submission.

Steps to reproduce

1. Install the acquia_optimize module
2. Go to acquia optimize API settings form
3. Enter the API Key and API URl
4. Save the form
5. Redirect to Access denied page

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

hemant_raghuvanshi created an issue. See original summary.

hemant_raghuvanshi’s picture

Issue summary: View changes
hemant_raghuvanshi’s picture

Issue summary: View changes
hemant_raghuvanshi’s picture

Issue summary: View changes
hemant_raghuvanshi’s picture

Issue summary: View changes
hemant_raghuvanshi’s picture

we are using services_api_key_auth module version 3.0.

ankitv18 made their first commit to this issue’s fork.

hemant_raghuvanshi changed the visibility of the branch 3543546-access-denied-on to hidden.

hemant_raghuvanshi changed the visibility of the branch 3543546-access-denied-on to active.

ankitv18’s picture

Version: 1.2.2 » 1.x-dev
vishalkhode’s picture

Status: Active » Closed (works as designed)

This is not an issue with Acquia Optimize module as it's an issue with Services API Key Authentication module and it's already fixed there: #2928649: namespace "api_key: causes access denied if a form has element also called 'api_key'. Hence, closing.

hemant_raghuvanshi’s picture

Thank you!