Fixed
Project:
Drupal Website API
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Nov 2026 at 13:06 UTC
Updated:
12 Nov 2026 at 21:00 UTC
Jump to comment: Most recent
POST /oauth/token answers 500: "You need to set the OAuth2 private key." Simple OAuth 6.1.4 is installed by the recipe and no key pair is generated or configured; /oauth/jwks is {"keys":[]}. The README promises OAuth 2.0.
modules/contrib/webapi/recipes/default.POST /oauth/token with the client id, secret and a scope: 500.Generate the key pair in private://simple_oauth at install and in an update hook when the site has a private files directory and no keys are configured, and warn on the status report while no readable key pair exists.
AI-Generated: Yes
Comments
Comment #3
rajab natshahMerged in !4, pipeline 1044388.
Comment #5
rajab natshah✅ Released webapi 1.0.2