Replies: 3 comments 4 replies
-
Interesting idea. I would have guessed, based solely on your description that "error response format" would be referring to the content and format of the response body, rather than the |
Beta Was this translation helpful? Give feedback.
-
@janz93 I don't understand the issue you are describing. According to https://datatracker.ietf.org/doc/html/rfc6749#section-5.2, when there is an error, the parameter |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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 anerror
,error_description
parameterOur 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 ❤️
Beta Was this translation helpful? Give feedback.
All reactions