Discourse-saml: There was an error authorizing your account

I tried that but it didn’t work - that said, I never checked what the base_url was actually returning (I am fairly unfamiliar with Ruby). However, when I did the hardcoding hack in the plugin everything started working, so I can only assume that when force_https was enabled in the settings it wasn’t setting the base_url to https…at least as far as the discourse-saml plugin was concerned.