Does anyone have an OAuth 1.0 plugin sample?


(Ad Huikeshoven) #1

We like to setup Oauth (not Oauth2) identification at https://discourse.wmflabs.org/. Authentification will be against existing accounts at any wikimedia site like e.g. https://en.wikipedia.org/ or https://www.mediawiki.org/ or https://commons.wikimedia.org/ or https://meta.wikimeda.org/. A ticket is up at ⚓ T124691 Configure Single Sign On at discourse.wmflabs.org. Wikimedians can login at phabricator with a wikimedia account, it has Oauth identification, not Oauth2 identification. I have found sample plugins for Oauth2, but not for Oauth. Has anyone a sample Oauth plugin?


(Jeff Atwood) #2

I would strongly recommend not using oAuth 1.0, there is a reason everyone switched to 2.0. Can the target sites be upgraded to oAuth 2.0?


(Ad Huikeshoven) #3

Thanks for the reply. I will look into the status of moving from Oauth 1.0 to Oauth 2.0.