-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
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:
- When registering an oauth consumer, which value has to be inserted for
OAuth "callback" URL? - 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.
Metadata
Metadata
Assignees
Labels
No labels