According to the rfc https://tools.ietf.org/html/rfc6749#section-4.1.2.1
scope errors should have an error field of invalid_scope this fixes that
and the test. The TokenController has the same error description but
uses the invalid_scope error so this commit makes AuthorizeController
match that.
According to the rfc https://tools.ietf.org/html/rfc6749#section-4.1.2.1 scope errors should have an error field of invalid_scope this fixes that and the test. The TokenController has the same error description but uses the invalid_scope error so this commit makes AuthorizeController match that.