مزود Discourse Connect يعيد التوجيه بعد تسجيل الدخول لا يعمل

The non-Discourse parts of my site use the Discourse Connect Provider for logins. I noticed yesterday that the Discourse login page no longer redirects back to the page the user came from. Instead, a successful login redirects to our forum. We haven’t changed what we send Discourse’s /session/sso_provider endpoint since May, and the return_sso_url we set in the request payload looks to me like what we’re intending to be there.

I’m using Discourse 3.6.0.beta1-dev. I don’t know when the problem started, as logging out isn’t something I do myself very often. We have updated Discourse several times since May, which makes me wonder if I’m seeing a regression.

Where can I look to troubleshoot this further?

إعجاب واحد (1)

I’ve switched this over to the bug category as I’m now fairly sure this is in fact a bug in Discourse.

These two posts replying to the instructions for setting up Discourse Connect describe the same problem I’m having:

The first of those two posts has the problem staring after updating to 3.5.0.beta5-dev in late May. I had already identified the problem as starting for us no earlier than May, which I suspect is not coincidental.

إعجاب واحد (1)

This commit is between 3.5.0.beta4 and 3.5.0.beta5 and seems relevant to redirects on login. I wonder if this is the culprit?

إعجاب واحد (1)

Hey @uckelman,

I believe this may have been fixed only in the last couple of weeks, so it looks like that was after your last update.

Can you try running the latest tag v3.6.0.beta1 which includes that fix?

Let us know if you’re still experiencing the issue or if it appears to be resolved.

3 إعجابات

I updated to 3.6.0-beta1 just now and can confirm that redirects work once again! :tada:

This is great news! Thanks so much!

إعجابَين (2)

Awesome. Glad it’s working now and thanks for reporting!

إعجاب واحد (1)