Steps to Reproduce:
Propose a new OAuth 2.0 consumer at https://meta.wikimedia.org/wiki/Special:OAuthConsumerRegistration/propose. A checkbox is visible: "Allow consumer to specify a callback in requests and use "callback" URL above as a required prefix."
Actual Results:
The checkbox has no effect. The callback URL must match exactly.
Expected Results:
The form should offer options consistent with what OAuth 2.0 consumers can actually do. Either the prefix functionality should be implemented, or the checkbox should be removed for cases where it doesn't apply.
Note that apparently the author of oauth2-server has rejected callback URL prefixes as being inconsistent with the OAuth 2.0 spec: https://github.com/thephpleague/oauth2-server/issues/1085. If WMF wants to override this behavior and support prefixes, the behavior of AbstractGrant::validateRedirectUri needs to be changed. Otherwise, the form needs to be fixed.