[
https://issues.apache.org/jira/browse/AMBER-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stein Welberg updated AMBER-62:
-------------------------------
Attachment: add-response-params-to-oauth-exception.patch
> Add Extra fields to OAuthProblemException for easier spec compliant error
> handling
> ----------------------------------------------------------------------------------
>
> Key: AMBER-62
> URL: https://issues.apache.org/jira/browse/AMBER-62
> Project: Amber
> Issue Type: Improvement
> Reporter: Stein Welberg
> Priority: Minor
> Attachments: add-response-params-to-oauth-exception.patch
>
>
> In order to handle spec correct errors the response status code may vary in
> different cases. (e.g. 401 when client authentication fails). Adding this
> field to the OAuthProblemException class helps in creating the correct error
> response.
> I also created a patch for this. See the attachment.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira