[2.x] Allow authentication via mail and password over RPC

Created on 28 February 2017, over 7 years ago
Updated 27 April 2024, 2 months ago

Problem/Motivation

Now that RPC endpoints for user login is in core, see #2403307: RPC endpoints for user authentication: log in, check login status, log out β†’ , let's add support for authenticating with a mail and password instead of username.

Proposed resolution

Add a custom controller that handle authentication via HTTP requests. We can re-use most of the code from \Drupal\user\Controller\UserAuthenticationController::login.

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States shadcn

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024