Skip to content

Oauth 1.0 usage instructions are unclear #181

Description

@kwisatz

From the README's section on OAuth1:

The method continue_oauth() will either promt the user for a callback URL (normal bot runs) or it will take a parameter so in the case of WDI being used as a backend for e.g. a web app, where the callback will provide the authentication information directly to the backend and so no copy and paste of the callback URL is required.

Two things are unclear at this point when trying to use this authentication mechanism within a script/bot:

  1. When registering an oauth consumer, which value has to be inserted for OAuth "callback" URL?
  2. When the script prompts for a callback URL (Callback URL:), which value should be inserted

considering that a script does not have a webserver to call back to.

I also checked https://www.mediawiki.org/wiki/OAuth/For_Developers#OAuth_1.0a which didn't help all too much in finding answers to those questions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions