Closed (fixed)
Project:
Discourse SSO
Version:
2.0.0-rc4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
28 Jul 2020 at 15:29 UTC
Updated:
5 Sep 2020 at 13:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
shenron_segamag commentedComment #3
jurgenhaasI believe, the URL you need to put into your Discourse config is http://mywebsite/discourse_sso (not http://mywebsite/discourse/sso). That's how it's described in the readme file and reviewing the code, it looks like that should be the case.
Comment #4
shenron_segamag commentedThank you. I changed to discourse_sso, and when I tried to log in from Discourse, I got the classical Drupal white error screen.
Here is the error log :
Comment #5
jurgenhaasPlease give this patch a try and let us know if that fixes it.
Comment #6
shenron_segamag commentedI just tried it, same white screen but different log :
Comment #8
jurgenhaasI have fixed this too. Problem being that I don't have a Discourse instance at hand and neither a customer project which would still make use of it. So if anyone could jump in with such a facility, that would be really handy. Patches would be much appreciated.
Comment #9
shenron_segamag commentedI tried to log in from the discourse forum after your update, and I've been redirected to the drupal login page, and I could successfully log in through it.
But now, I'm unable to log in with another account. Even if I log out from Discourse AND from Drupal, when I try to log in with Discourse, it logs in with the previous account without opening the Drupal login page again.
I tried to login as admin with /users/admin-login, log out, and then click on "log in" again, only to be logged in with the previous account I've used.
Comment #10
jurgenhaasThat's unfortunate but without an environment to test, reproduce and develop this is hard to fix. I would call this issue being fixed and suggest you open a new issue for the new problem which can then hopefully being picked up by somebody who has Discourse in action and is willing to debug and provide patch.
Comment #11
shenron_segamag commentedSure, I'll do that. Thanks.