Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
POST to /oauth/token only works if you use form encoding. If you try to post a JSON body it's ignored.
Comments
Comment #2
e0ipsoThis is a side-effect of the underlying PHP library. We can probably handle that transformation from JSON in the controller if the
Content-Type
is set toapplication/json
.Comment #3
e0ipso