Skip to content

[OAUTH] REPONSE 200 with no entity when Access_token not valid #648

Closed
@lauterry

Description

@lauterry

Hi,

I'm using Restlet 2.1 M7 and its OAUTH Extension.

I have the following message :

A response with a 200 (Ok) status should have an entity.

when attempting to access a protected resource with an invalid access_token.

The method OAuthAuthorizer.handleError(error, resp) handle errors but I cannot reused those error from my Client side ( I got a 200 code instead). I'm expecting a 401 or a 403 error code

Is is an issue or am I wrong somewhere ?

Best Regards

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions