I am trying to implement OAuth authentication in the Wikimedia Commons Android app as required by WMF to keep our app in their Play store account.
I have followed the OAuth documentation for developers and have raised a request for OAuth Consumer registration. I wasnt very sure about the callback URL to be provided so I have provided our website's link as the callback URL https://commons-app.github.io/.
I have received a consumer token and secret token after registration.
- I am stuck at the next step where I have to make a signed request to Special:OAuth/initiate for getting a request key and request secret. How do I sign the request?
- Do i need to use a webserver for the initiate and authorize steps.
Any pointers on how to proceed with the authentication would help a lot. I tried checking out the Wikipedia Android app to check their authentication process but couldn't figure out if they are actually using OAuth for authentication