# Discourse-saml: There was an error authorizing your account

**URL:** <https://meta.discourse.org/t/discourse-saml-there-was-an-error-authorizing-your-account/54469>\
**Category:** SSO\
**Created:** [Décembre 19, 2016, 4:55 UTC](https://meta.discourse.org/t/discourse-saml-there-was-an-error-authorizing-your-account/54469 "2016-12-19T04:55:37Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![skoota](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/skoota/32/65472_2.png) [@skoota](https://meta.discourse.org/u/skoota)\
**Post date:** [Décembre 20, 2016, 9:58 UTC](https://meta.discourse.org/t/discourse-saml-there-was-an-error-authorizing-your-account/54469/10 "2016-12-20T21:58:26Z")

</div>

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.

---

_[View the full topic](https://meta.discourse.org/t/discourse-saml-there-was-an-error-authorizing-your-account/54469)._
