Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support OAuth 2.0 #46

Open
diegodlh opened this issue Mar 9, 2021 · 1 comment
Open

Support OAuth 2.0 #46

diegodlh opened this issue Mar 9, 2021 · 1 comment
Labels
enhancement New feature or request uploading Issues related to uploading to Wikidata module

Comments

@diegodlh
Copy link
Owner

diegodlh commented Mar 9, 2021

The plugin currently asks for username and password to login to Wikidata each time an edit batch is requested. Eventually, these may be saved to local storage if desired by the user (#45).

Ideally, plugin should support logging in using OAuth (see https://meta.wikimedia.org/wiki/Talk:Wikicite/grant/WikiCite_addon_for_Zotero_with_citation_graph_support#OAuth). However, OAuth 2 would be needed, because the client is running on the user's computer and can't keep OAuth 1's consumer secret safe.

OAuth 2 is not yet supported by wikibase-edit.

@diegodlh diegodlh added enhancement New feature or request uploading Issues related to uploading to Wikidata module labels Mar 9, 2021
@diegodlh
Copy link
Owner Author

Refer to MediaWiki's OAuth 2 documentation for developers: https://www.mediawiki.org/wiki/OAuth/For_Developers#Authorization_2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request uploading Issues related to uploading to Wikidata module
Projects
None yet
Development

No branches or pull requests

1 participant