Invalid X-Consumer-ID header value

Created on 17 March 2023, over 1 year ago
Updated 27 March 2023, over 1 year ago

Problem/Motivation

With https://www.drupal.org/project/consumers/issues/3310801 β†’ we made the 'client_id' field available on the Consumer entity, it's also being used in SimpleOauthAuthenticationProvider, which sets the client_id value on the X-Consumer-ID header. But the consumer Negotiator is still assuming it's the uuid instead of the client_id.

Initial issue reported: https://www.drupal.org/project/simple_oauth/issues/3343744 πŸ› Invalid X-Consumer-ID header value Closed: duplicate

Proposed resolution

Update the Negotiator to load the consumer entity by client_id.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands bojan_dev

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

Comments & Activities

Production build 0.71.5 2024