Jump to content

Extension talk:XenForoAuth

About this board

Confirm Email option Problem

2
SyrinxCat (talkcontribs)

So on our wiki this is working fine, however, we also want people to be able to register a normal wiki account and not a Xenforo account if they so choose.

Annoyingly, if you have $wgEmailConfirmToEdit = true; set for emails, it stops Xenforo users being able to edit.

Had anyone got a solution for this?

Tiggleshorts (talkcontribs)

In my case I prefer to have a single login so have just used XenForo, but the usage of the wiki has been small. Sorry, haven't checked that option out.

Reply to "Confirm Email option Problem"

FYI: This extension breaks using [bd] API versions >1.5.1

16
Formina Sage (talkcontribs)

It seems there are additional permissions added to the /users API endpoint in versions >1.5.1 that cause the authorization flow to fail.

Tiggleshorts (talkcontribs)

Just ran into this also, anyone have a workaround / solution? BD API 1.6.1 is required for PHP 7.2

Florianschmidtwelzow (talkcontribs)

What is the exact error message you get? And what additional permissions you've in mind?

Tiggleshorts (talkcontribs)

This is the message I get when clicking "Login with Xenforo" using the latest version (1.6.1) of [bd] API:

The external site refused to authenticate you or encountered an error. Please try it again or contact the administrator of the site. The message was:

On the [bd] API discussion page I saw another user post with these details:

GET /api/index.php?users/me

Request array(0) { } Response (403) array(1) { ["error"] => string(34) "You must be a logged-in, registered member of this site to perform this action. " }

TheRealFunar (talkcontribs)

It would seem that "users/me" doesn't behave the same in 1.6.x as it did in 1.5.x. Forum posts on th haven't been responded to, sadly.

96.234.163.212 (talkcontribs)
Florianschmidtwelzow (talkcontribs)

Hi, sorry for not replying earlier :( Unfortunately I do not plan to maintain this extension anymore. I do not have any usage of this extension anymore, neither have I any way to test the actual implementation (as I do not own a XenForo installation). So, until anyone want to take over the maintenance of his extension, it is unmaintained and should not be used anymore :( Best, Florian

Formina Sage (talkcontribs)
Tiggleshorts (talkcontribs)

@Formina Sage Excellent news, I'm just working on moving to Xenforo 2.1 now. I will check it out, thank you!!

Tiggleshorts (talkcontribs)

@Formina Sage I think I have it set up properly with Xenforo 2.1.6, MediaWiki 1.34.0 and [bd] API 2.0.1 Beta 1 but am seeing this error when clicking the 'login with Xenforo' button. Did your run into this?

Error from line 321 of .../extensions/XenForoAuth/includes/auth/XenForoPrimaryAuthenticationProvider.php: Class 'XenForoBDClient\Clients\OAuth2Client' not found

Tiggleshorts (talkcontribs)

Update: I got it working by: 1. running composer update in the extensions/XenForoAuth/ directory (didn't see this in the directions) which added the missing files. 2. running maintenance/update.php again 3. turning off basic auth I had on my test site. Looking good!

2A02:C7E:4929:9500:159F:4C2E:BFFC:AC62 (talkcontribs)

Triggleshorts, I managed to get to the point you were at but can't run composer. What is actually missing?

SyrinxCat (talkcontribs)

I have everything setup but not having any luck, Not sure what to set for

$wgXenForoAuthClientId = '';

Going round in circles and the error logs in Xenforo keep showing not matter what I do.

array:1 [ "errors" => array:1 [ 0 => "requested_page_not_found" ] ]

Tiggleshorts (talkcontribs)

@SyrinxCat Sorry I didn't see the previous message, were you able to get it working?


I just upgraded to the latest MediaWiki v1.39.1 and I did not run into any issues, still working fine.

SyrinxCat (talkcontribs)

@Tiggleshorts. No problem. I did eventually get it working yes. Took some messing about but got there in the end :)

Tiggleshorts (talkcontribs)

Awesome!

Reply to "FYI: This extension breaks using [bd] API versions >1.5.1"
There are no older topics