I would like to use OAuth2 for CommonsFinder, the iOS Commons App I am currently developing and planning a public release in the App-Store release this year.
Currently the app uses action=clientlogin, which is not ideal, especially given recent rate-limit changes and in general integration.
As the registration form (https://meta.wikimedia.org/wiki/Special:OAuthConsumerRegistration/propose/oauth2) currently only allows custom schemes defined in $wgUrlProtocols, as far as I know, and will return an error otherwise,
I am hereby applying to add following custom URL scheme to $wgUrlProtocols, in order to complete the registration form:
CommonsFinder://
This scheme will be used to handle OAuth2 redirect URLs via:
CommonsFinder://OAuthCallback
This will be processed directly in the native app to proceed with the auth flow. I will likely use the following library as the middle-layer: https://github.com/ChimeHQ/OAuthenticator
I understand that custom schemes are not lightly added to $wgUrlProtocols, but not having OAuth2 support is quite the blocker currently, and I would love to get the iOS Commons App in more people's hands this year :)
I am happy to supply you with detailed feedback regarding implementation and bugs I encounter.
PS: @Tgr I assigned you to the ticket as we interacted recently at https://commons.wikimedia.org/wiki/Commons_talk:Mobile_app#OAuth_support. Feel free to un/re-assign, or let me know if that field should be kept empty when creating tickets in the future (I don't want to overstep). :)
