Jump to content

Topic on Extension talk:WSOAuth/Flow

Question about token key names

5
Revansx (talkcontribs)

Environment:

  • MW 1.35
  • PluggableAuth: 7.0.0
  • WSOAuth: 9.0.0

I'm trying to do a PluggableAuth integration with Wikimedia and the configuration documentation example refers to receiving:

  • A "clientId" and "clientSecret"

however upon completion of my OAuth 1.0a application I only get:

  • A Consumer token and a Consumer secret, and
  • An Access token and an Access secret

It is not clear to me how to configure my wgPluggableAuth_Config.

Is the nlwiki example [0] out of date? Please advise. Thank you!

[0] Extension:WSOAuth#Configuration

Xxmarijnw (talkcontribs)

Hi, using the latest version of OAuth for MW1.39 (1.1.0 c129a70), I get the following:

Response from the OAuth extension when registering an OAuth 1.0a application.

The first token is the clientId and the second token is the clientSecret. Does this differ from the response that you get?

Revansx (talkcontribs)

It does differ.. It doesn't give me a clientId or clientSecret, rather if gave me 4 different things:

  1. A Consumer Token
  2. A Consumer Secret
  3. An Access Token
  4. An Access Secret
Xxmarijnw (talkcontribs)

Just to be sure: Are you registering an OAuth 1.0a consumer, and not an OAuth 2.0 client?

Revansx (talkcontribs)

OAuth 1.0a consumer. per the instructions

Reply to "Question about token key names"