Skip to content

Fix: Support `access_token`s from multipart forms

Jamie Tanna requested to merge defect/multipart-token into develop

In b09e71e0 we introduced the use of the spring-oauth2-resource-server, and configured it to use DefaultBearerTokenResolver bundled with spring-oauth2.

Unfortunately DefaultBearerTokenResolver does not handle multipart/form-data requests as they come in via a different parameter set, so we need to add our own implementation here, as Micropub's spec allows it.

This means that requests do not work with https://indigenous.realize.be/ as it sends all requests via multipart requests.

Merge request reports