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). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

REST & JSON API Authentication for Drupal

1,363 sites Security covered Drupal 9–11
View on drupal.org

This module secures your Drupal site's API endpoints by supporting various authentication methods like Basic, API Key, OAuth 2.0, and JWT. It allows for granular control over API access, including IP address and role-based restrictions.

The Drupal API Authentication module prevents unauthorized access to your Drupal site. This helps to secure API endpoints from unauthorized access.

Our module supports key API authentication methods such as Basic Authentication, API Key Authentication, JWT Authentication, and more. Additionally, a REST API defines a set of functions in which developers can perform requests such as GET, POST, PUT, PATCH, DELETE, and receive responses via the HTTP protocol.

Setup guides Unique case-studies

Drupal API Authentication Methods:

Drupal REST & API Authentication module supports the following authentication methods:

1) Basic Authentication: Users can effortlessly authenticate themselves using their username and password using the basic authentication technique.

2) API Key Authentication: This is a method where the users are authenticated using a unique API key on every API request.

3) OAuth 2.0 Authentication: One of the secured authentication methods, where the OAuth 2.0 protocol is used to generate an access token. This token authenticates access to your Drupal site API.

4) JWT Authentication: This method authenticates users with an existing external JSON Web Token (JWT) from a provider, or with one obtained through our module. Just add the token in the API request header to authenticate the users

5) Third-Party Provider Authentication: Restrict access to your Drupal REST API using third-party identity providers such as Okta, Google, or Microsoft Entra ID etc. This technique allows you to configure the Drupal API authentication module with the identity provider and authenticate all the API requests using the access token from the identity provider.

Prominent Features of REST & JSON API are:

  • Custom Certificate Generation: The module allows you to generate a custom certificate or use your own certificate.
  • Supports JSON and REST APIs.
  • Supports Restriction of Custom APIs.
  • API Key Authentication
  • Basic Authentication
  • JWT-Based Authentication
  • OAuth 2.0 or Access Token-based Authentication
  • Third-party provider (external identity provider) based authentication.
  • Generate separate API Keys for every user.
  • Custom Header
  • Custom Token Expiry
  • Custom API Restrictions
  • IP Address Based Restriction
  • Role Based Restriction
  • and much more...

This module is developed by miniOrange. Some of the features may require a valid paid license.

Need any help?

Reach out to us at [email protected] to resolve queries or to schedule a demo. You can also connect with us on the Drupal Slack channel.

 Contact Us Join Our Slack Channel

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
Oct 2024
Latest release
4 months ago
Releases (12 mo)
3
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
3.1.0 Stable 9–11 Apr 23, 2026
3.0.0 Stable 9–11 Jan 26, 2026
2.1.0 Stable 9–11 Sep 8, 2025
2.0.19 Stable 9–11 Jun 16, 2025
2.0.18 Stable 9–11 Feb 3, 2025
2.0.17 Stable 9–11 Oct 25, 2024