This module allows users to obtain an OAuth authorization code without needing to re-enter their login credentials, typically used in decoupled applications for actions like password resets. It verifies the user through the Verification API and then issues an authorization code that can be exchanged for an access token.
Obsolete
Use of this module is discouraged due to security concerns.
Please use the Authorization Code Flow to handle getting an auth code to exchange for an access token.
This module provides a REST resource to request an OAuth authorization code if the request is verified.
Motivation
In decoupled scenarios we sometimes need a way to log the user in without the user entering the login credentials (e.g. a password reset).
To accomplish this, we need to get an access token from the Simple OAuth module.
This is done by first checking if the request is verified (e.g. the user has entered the correct verification code, or clicked a verification link). If verification is successful, an authorization code is issued for the user, which can then be exchanged for an access token.
Verification is done via the Verification API module.
Ask your assistant about Simple OAuth Auth Code
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
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
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0-beta2 | Pre-release | 9–10 | PHP >=8.1 | Apr 12, 2023 | |
| 1.0.0-beta1 | Pre-release | 9–10 | PHP >=8.1 | Apr 5, 2023 |