Discourse-saml: There was an error authorizing your account

You should be able to just set the force_https setting to true and base_url will return https