Page MenuHomePhabricator

Set up Phabricator to accept OAuth requests from discuss-space.wmflabs.org
Closed, ResolvedPublic

Description

Hi, we are setting up a new Discourse instance and we want to use Wikimedia Phabricator as login provider (while we get Wikimedia login support to work directly).

We would need something like https://phabricator.wikimedia.org/oauthserver/client/view/3/

For https://discuss-space.wmflabs.org

It is actually urgent... Can you help, please?

PS just in case it is useful: T184987: Enable Wikimedia Phabricator login in discourse-mediawiki.wmflabs.org

Event Timeline

Qgil created this task.Jun 21 2019, 10:46 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 21 2019, 10:46 AM
Qgil updated the task description. (Show Details)Jun 21 2019, 10:47 AM
Reedy triaged this task as High priority.Jun 21 2019, 10:54 AM
Qgil added a comment.Jun 21 2019, 11:07 AM

Thank you @Aklapper !

Hm. I think everything is correct in Discourse's side (I am also comparing with discourse-mediawiki from the admin interface) and yet, I get this:

OAuth: Invalid Redirect URI

Request parameter redirect_uri specifies an invalid redirect URI. The redirect URI must be a fully-qualified domain with no fragments, and must have the same domain and at least the same query parameters as the redirect URI the client registered.

OAuth Error Code: invalid_request

Qgil closed this task as Resolved.Jun 21 2019, 11:14 AM
Qgil claimed this task.

FIXED! (there was an extra space at the end of the URL, apparently........)

Thank you so much.