Skip to content

Error: "mwoauth-oauth-exception" #3

@franbueno

Description

@franbueno

Hi Chris,

Im always getting this issue:
error: "mwoauth-oauth-exception"

This is my consumer and secret keys:

$consumerKey = 'b02833d71fe5700c891c531fe041c36c';
$consumerSecret = 'f2b6f6ccc47e9f6b298eaa74789897b98dc6a594';

$config = new MWOAuthClientConfig(
'https://www.mediawiki.org/w/index.php?title=Special:OAuth', // url to use
true, // do we use SSL? (we should probably detect that from the url)
false // do we validate the SSL certificate? Always use 'true' in production.
);
$config->canonicalServerUrl = 'https://www.mediawiki.org';
$config->redirURL = 'https://www.mediawiki.org/view/Special:OAuth?';

Can you help me? :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions