Skip to content

Requests against some /ocs endpoints return empty body and invalidate the session if OAuth2 is enabled. #28860

@jesmrec

Description

@jesmrec

Request against some endpoints /ocs return empty body, making clients not to behave as expected.

This is happening in daily master from today with OAuth2 app enabled. OAuth2 app worked properly before and no more commits were added, so i guess this is not matter of OAuth2 app.

Some examples, all of them with daily master (2017-08-30), that are not reproducible with daily from 28th.

Requests like:

  • /ocs/v1.php/cloud/user?format=json
  • /ocs/v1.php/cloud/capabilities?format=json

returns empty body with OAuth2 enabled and correct response with OAuth2 disabled.

@SamuAlfageme also experience this effect using Desktop Client

(Suspicions related with #28457 ... )

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions