Page MenuHomePhabricator

Can't create owner-only OAuth consumer
Closed, DuplicatePublic

Description

Hello,

As logging via API is now deprecated for bots (and can be disabled without warning, as the API says when logging), I tried to help a bot user to register an OAuth consumer (I did it myself without any issue in August).

Here is how we filled in the form on https://meta.wikimedia.org/wiki/Special:OAuthConsumerRegistration/propose :

Application name: <Bot Name>
Consumer version: 1.0
Application description: OAuth Access for <Bot Name>
Checked "This consumer is for use only by <Bot Name>"

The contact email and project had been filled.

Applicable grants:

  • Basic rights
  • High-volume editing
  • Edit existing pages
  • Edit protected pages
  • Create, edit, and move pages

The acknowledgement had been checked too.

And when pressing "Propose consumer" an error message says : Missing value for "callbackUrl" field

The problem is that there is no 'OAuth "callback" URL' field for "owner-only" consumers.

Is there a way to fix it ? I didn't face this issue in August when I created my OAuth consumer.

Thanks and regards,

Event Timeline

Linedwell created this task.Jan 7 2017, 2:47 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 7 2017, 2:47 PM
Linedwell updated the task description. (Show Details)Jan 7 2017, 2:50 PM
Dereckson updated the task description. (Show Details)Jan 8 2017, 5:25 PM
Dereckson added a subscriber: Tgr.
Rxy added a subscriber: Rxy.Jan 8 2017, 9:00 PM

My apologies, I broke it with a recent refactoring of how forms work in MediaWiki core :( I'll get this fixed as soon as possible.

As a workaround, you should be able to complete the form if you disable JavaScript in your browser (note that some enhancements will be missing, but the form will be completely functional).

I've just filed a duplicate task with some technical details, before noticing this. I'll dupe if you don't mind.