Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Consumers

27,152 sites Security covered Drupal 10โ€“11
View on drupal.org

This module allows Drupal to register and manage "consumers," which are external applications or clients that interact with your Drupal site. It's primarily used by other modules to provide different features or content variations based on which consumer is making the request, enabling flexible decoupled Drupal setups.

Consumers is a module that does not do much on its own. Instead it's used by other modules to provide functionality for decoupled scenarios. Use this module as a dependency in your custom module to provide per-consumer variations of a feature. Or write a general purpose contrib module like Simple OAuth or Consumer Image Styles.

When is Consumers helpful?

Consumers will allow users to register consumers in Drupal (much like https://developers.facebook.com). It's a module that allows decoupled Drupal set ups to have variations based on the consumer making the request. All these options are gathered under a common umbrella so other projects can make use of them.

What modules are using Consumers?

Simple OAuth
Simple OAuth is the recommended OAuth2 solution for Drupal 8. It uses consumers to configure the different clients this specification needs.
Consumer Image Styles
Consumer Image Styles allows 3rd party application developers to specify the image styles their consumer needs. This module adds the URLs for those image variations when using JSON API.

Consumer negotiation

In order for your consumer to be discovered you will have to provide the Client ID of the consumer entity in the request. You can do so by sending a custom header or a query string parameter.

Use the X-Consumer-ID: 3cf7e37f-f8b6-405e-bf76-7ec37f6caec5 header or the https://โ€ฆ?consumerId=3cf7e37f-f8b6-405e-bf76-7ec37f6caec5 query string parameter to provide context about the consumer that issued the request.

Default Consumer

In 1.7 we introduced the concept of Default Consumer. This consumer will be used whenever no other consumer can be negotiated. Note that you can only have one default consumer in your site.

Contenta CMS

This module is part of the Contenta CMS decoupled distribution and integrates with Contenta JS. Learn more about these projects:

๐Ÿ‘‰ Contenta CMS ๐Ÿ‘ˆ
๐Ÿ”ฅ Contenta JS ๐Ÿ”ฅ

Logo is creative commons: https://pixabay.com/photo-443549/

Depends on

Dependencies of the latest stable release

  • image Drupal core
  • system Drupal core

Required by

8 tracked projects depend on this one

Activity

Tracked releases
5
Tracked since
Jul 2025
Latest release
6 months ago
Releases (12 mo)
4 ▲ from 1
Maintenance
Slowing

Release Timeline

Releases

Version Type Core Release date
8.x-1.24 Stable 10โ€“11 Feb 11, 2026
8.x-1.23 Stable 10โ€“11 Jan 22, 2026
8.x-1.22 Stable 9โ€“11 Nov 28, 2025
8.x-1.21 Stable 9โ€“11 Sep 28, 2025
8.x-1.20 Stable 9โ€“11 Jul 17, 2025