Currently, there is a lot of conditional logic in the OAuth extension formi when toggling between OAuth version 1 and version 2. In particular, a bug with the conditional hide/disable logic (T297888). As the logic may get more complex, we should simplify the code and split out the forms into 2 separate form pages.
Currently, the form is located at Special:OAuthConsumerRegistration/propose.
Instead, the v1 form could live at Special:OAuthConsumerRegistration/propose/v1 and v2 could live at Special:OAuthConsumerRegistration/propose/v2.
Description
Description
Details
Details
Related Objects
Related Objects
Event Timeline
Comment Actions
This would also be useful for tailoring form presentation better to the protocol version (more specific documentation links, handle differences in vocabulary such as grant vs. scope).
Comment Actions
Change 770607 had a related patch set uploaded (by TChin; author: TChin):
[mediawiki/extensions/OAuth@master] Split OAuth consumer registration form into two distinct forms for OAuth 1.0a and OAuth 2.0
Comment Actions
Switching roles - chatted with Thomas outside Phab. I'll finish the coding work and Thomas will review.
Comment Actions
Change 770607 merged by jenkins-bot:
[mediawiki/extensions/OAuth@master] Split OAuth consumer registration form into two distinct forms for OAuth 1.0a and OAuth 2.0