Problem/Motivation

https://www.rfc-editor.org/rfc/rfc6749.html#section-4.1.2.1

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

bradjones1 created an issue.

bojan_dev’s picture

This is already addressed in 6.0, here is another example were this pops up again: https://www.drupal.org/project/simple_oauth/issues/3225751#comment-14791779

I think this involves some refactoring, we should avoid architecture changes in 5.2.

bradjones1’s picture

Thanks for the pointer. By architecture change, you mean a change to the shape of the error response?

bojan_dev’s picture

Actually the OAuthServer from the league lib pretty much handles the shape of the error response and this varies based on the OAuth2 spec. What I meant with architecture changes; the oauth endpoints responses (including redirects) should be done by the League lib, this is currently not the case in simple_oauth:5.2 and involves refactoring.

bradjones1’s picture

Ah OK... Yeah I am not talking about touching the redirects, just the shape of the response when there is an exception thrown during processing.