https://github.com/jverneaut/drupal-external-authentication-poc
https://github.com/jverneaut/drupal-external-authentication-poc
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jverneaut/drupal-external-authentication-poc
- Owner: jverneaut
- Created: 2024-09-27T14:44:31.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-11-12T21:18:24.000Z (7 months ago)
- Last Synced: 2025-01-30T01:17:05.064Z (4 months ago)
- Language: PHP
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Drupal External Authentication
```mermaid
sequenceDiagram
participant User
participant Drupal
participant CRMUser->>Drupal: Enter email & password, click "Log in"
Drupal->>CRM: Check if account exists with provided email
alt Account exists
CRM-->>Drupal: Returns CRM ID
Drupal->>Drupal: Check if CRM ID exists on Drupal
alt CRM ID exists in Drupal
Drupal->>Drupal: Verify password match
alt Password matches
Drupal-->>User: Login successful
else Password doesn't match
Drupal-->>User: Login failed (wrong password)
end
else CRM ID does not exist in Drupal
Drupal-->>User: Login failed (no matching account)
end
else Account does not exist
CRM-->>Drupal: No account found
Drupal-->>User: Login failed (no matching account)
end
```