after upgrade to 6.0.0, with core to 11.1

Created on 11 March 2025, 25 days ago

Hello maintainers,

Thanks for this module.

I have just upgraded my Drupal site from Drupal Core 10.4 to 11.1, and Simple OAuth from 5.2 to 6.0.0.

Before the upgrade, everything was working fine.

Now, I am encountering this error, for example, when I try to log in:

{"error":"invalid_request","error_description":"The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed.","hint":"Check the `client_id` parameter"}.

I don't understand. Here is my cURL request for testing:

curl -X POST http://192.168.1.134/oauth/token -H "Content-Type: application/json" -d '{
"grant_type": "password",
"client_id": "HN_L0s4E8hI5Kufgyi_iyuygucXUk",
"client_secret": "password",
"username": "yyjjjjyy@jjjjjjjj.com",
"password": "aqw"
}'

I have also tried using 'scope' in the cURL request, but I still get the error.

Thanks for your help.

🐛 Bug report
Status

Active

Version

6.0

Component

Code

Created by

🇫🇷France paul_paris

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

Comments & Activities

Production build 0.71.5 2024