Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By dawehner on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.2.x
Issue links:
Description:
As of #2228141: Add authentication support to REST views you can now configure, which authentication mechanism should be used in a REST display in views.
In the configuration this looks like the following (this here adds a basic_auth
example):
rest_export:
+ display_plugin: rest_export
+ position: 1
+ display_options:
+ auth:
+ basic_auth: basic_auth
By default we don't change any existing behaviour.
Impacts:
Site builders, administrators, editors
Module developers