Sorry for the slow response Vladimir, It seemed worthwhile to have an error code that was more specific than "invalid_request" to convey back to the client that there was an issue with the value(s) it provided for the resource parameter - it's similar to "invalid_scope" from RFC 6749 in that regard. Token exchange has something similar for the resource parameter and I actually need to reconcile the wording and naming in the resource indicators draft to better align with that. I just haven't had a chance to get back into doing the spec edits on this one yet.
On Wed, Aug 22, 2018 at 1:24 PM Vladimir Dzhuvinov <vladi...@connect2id.com> wrote: > Hi Brian, > > If the > authorization server fails to parse the provided value or does not > consider the resource server acceptable, it MUST reject the > request and provide an error response with the error code > "invalid_resource". > > If the resource parameter is not an absolute URI, i.e. parsing of the > value fails, wouldn't the existing general "invalid_request" error code be > more appropriate? > > https://tools.ietf.org/html/rfc6749#section-4.1.2.1 > > invalid_request > The request is missing a required parameter, includes an > invalid parameter value, includes a parameter more than > once, or is otherwise malformed. > > Vladimir > > On 04/08/18 06:39, internet-dra...@ietf.org wrote: > > > A New Internet-Draft is available from the on-line Internet-Drafts > directories. > This draft is a work item of the Web Authorization Protocol WG of the IETF. > > Title : Resource Indicators for OAuth 2.0 > Authors : Brian Campbell > John Bradley > Hannes Tschofenig > Filename : draft-ietf-oauth-resource-indicators-00.txt > Pages : 8 > Date : 2018-08-03 > > Abstract: > This straw-man specification defines an extension to The OAuth 2.0 > Authorization Framework that enables the client and authorization > server to more explicitly to communicate about the protected > resource(s) to be accessed. > > > The IETF datatracker status page for this draft > is:https://datatracker.ietf.org/doc/draft-ietf-oauth-resource-indicators/ > > There are also htmlized versions available > at:https://tools.ietf.org/html/draft-ietf-oauth-resource-indicators-00https://datatracker.ietf.org/doc/html/draft-ietf-oauth-resource-indicators-00 > > > Please note that it may take a couple of minutes from the time of submission > until the htmlized version and diff are available at tools.ietf.org. > > Internet-Drafts are also available by anonymous FTP > at:ftp://ftp.ietf.org/internet-drafts/ > > _______________________________________________ > OAuth mailing listOAuth@ietf.orghttps://www.ietf.org/mailman/listinfo/oauth > > > _______________________________________________ > OAuth mailing list > OAuth@ietf.org > https://www.ietf.org/mailman/listinfo/oauth > -- _CONFIDENTIALITY NOTICE: This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you have received this communication in error, please notify the sender immediately by e-mail and delete the message and any file attachments from your computer. Thank you._
_______________________________________________ OAuth mailing list OAuth@ietf.org https://www.ietf.org/mailman/listinfo/oauth