Drupal is a registered trademark of Dries Buytaert
Release: Drupal 10.3.6 Update released for Drupal core (10.3.6)! Release: Drupal 11.0.5 Update released for Drupal core (11.0.5)! Release: Drupal 10.2.9 Update released for Drupal core (10.2.9)! Release: Drupal 10.2.10 Update released for Drupal core (10.2.10)! Release: Drupal 10.3.7 Update released for Drupal core (10.3.7)! Release: Drupal 11.0.6 Update released for Drupal core (11.0.6)! Release: Drupal 10.3.8 Update released for Drupal core (10.3.8)! Release: Drupal 11.0.7 Update released for Drupal core (11.0.7)! Module Revived: Translation Management Tool 8.x-1.19 Module tmgmt updated after 7 months of inactivity (8.x-1.19). Usage Milestone: Account field split Module account_field_split crossed 10,000 active installs.

The Social Auth Diia module, based on the Social API, allows users to register and log in to your Drupal site using their Diia account. This integration simplifies the authentication process while leveraging secure and reliable services provided by Diia. Additionally, the module supports requesting scopes for tasks requiring authenticated interactions with Diia services.

The module provides a dedicated path user/login/diia, which redirects users to Diia for authentication.

Upon successful authentication, the module checks if the user's Diia ID or email exists on the Drupal site:
- If a match is found, the user is logged in.
- If no match exists, a new account is created.
Users can also associate their Diia account with an existing authenticated Drupal account.

The login process is initiated through the Diia button in the Social Auth block. Alternatively, developers can theme and place a link to user/login/diia anywhere on the site.

Configuration Instructions

Step 1: In Drupal

1. Log in as an administrator.
2. Navigate to Configuration » User authentication » Diia.
3. Copy the Authorized Redirect URL provided by the module (it ends with /user/login/diia/callback).

Step 2: In Diia Developer Portal

1. Log in to your Diia developer account.
2. Navigate to the Applications section and click Create Application.
3. Fill in the required details:
- Application Name
- Description
- Support Email
4. Set up Redirect URIs:
- Paste the Authorized Redirect URL from Drupal.
5. Define the required scopes based on the application's needs.
6. Generate the Client ID and Client Secret:
- Copy these credentials securely as they won’t be displayed again.

Step 3: Back in Drupal

1. Return to Configuration » User authentication » Diia.
2. Paste the Client ID and Client Secret into their respective fields.
3. Save the configuration.

Step 4: Place the Social Auth Block

1. Go to Structure » Block Layout.
2. Place the Social Auth Login block in the desired region of the site.

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
1
Tracked since
Nov 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Core Release date
1.0.x-dev Dev Nov 25, 2024