Skip to content

'problem+json' error format #545

@janz93

Description

@janz93

All our APIs are protected via oauth2 and we make use of this gem.

The OAuth2::Error class is expecting the error response to always have an error, error_description parameter

Our APIs make use of the problem+json as a structured format for error messages.

I was reading through the oauth2 spec and if I understood the spec correctly it says that the resource error response format can look however you want it to be.

Maybe it would be great to support different error formats like problem+json

PS. All thanks for the hard work that goes into this gem ❤️

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions