Help talk:Toolforge/My first Flask OAuth tool/Archives/2020
Appearance
Latest comment: 4 years ago by Ashot1997 in topic OAUTH_MWURI
![]() |
Please do not post any new comments on this page. This is a discussion archive See current discussion or the archives index. |
OAUTH_MWURI
What is app.config['OAUTH_MWURI'] in the last code? How can I find it? Also when I register of a new OAuth consumer, it says You have been assigned a consumer token of aaaaaaaaaaaaaaaaaaa and a secret token of bbbbbbbbbbbbbb Please record these for future reference. Am I getting it right that in config.yaml it should be
- CONSUMER_KEY: aaaaaaaaaaaaaaaaaaa
- CONSUMER_SECRET: bbbbbbbbbbbbbb
? Thank you very much!--Ashot1997 (talk) 16:32, 27 June 2020 (UTC)
- The
OAUTH_MWURI
setting seems to have disappeared from the tutorial body, but it is documented in the related git repository. The default value should be something like "OAUTH_MWURI: https://meta.wikimedia.org/w/index.php". - Your mapping of the MediaWiki OAuth terminology to the tutorial's terminology is correct. --BryanDavis (talk) 16:14, 29 June 2020 (UTC)
- Hi, BryanDavis. Thank you very much for your answer ^_^.--Ashot1997 (talk) 04:47, 2 July 2020 (UTC)