# Problem configuring discourse-saml

**URL:** https://meta.discourse.org/t/problem-configuring-discourse-saml/89109
**Category:** SSO
**Created:** [June 4, 2018, 2:42pm UTC](https://meta.discourse.org/t/problem-configuring-discourse-saml/89109 "2018-06-04T14:42:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jpsayshello](https://avatars.discourse-cdn.com/v4/letter/j/96bed5/32.png) [@jpsayshello](https://meta.discourse.org/u/jpsayshello)
#### Post date: [June 4, 2018, 2:42pm UTC](https://meta.discourse.org/t/problem-configuring-discourse-saml/89109/1 "2018-06-04T14:42:35Z")

</div>

Hi All,

I am trying to configure SSO by using [GitHub - discourse/discourse-saml: Support for SAML in Discourse · GitHub](https://github.com/discourse/discourse-saml/) plugin.  
It is giving me error `Sorry, there was an error authorizing your account. Perhaps you did not approve authorization?`

I followed the Readme page on the plugin and made appropriate changes in app.yml

Any other changes do i have to do in admin panel to solve this ?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [June 4, 2018, 6:31pm UTC](https://meta.discourse.org/t/problem-configuring-discourse-saml/89109/2 "2018-06-04T18:31:47Z")

</div>

That usually means that the SSO isn’t passing the info that’s needed to log in. You may have a mismatch in the fields containing the email address.

---

<div class="post-metadata">

### Author: ![jpsayshello](https://avatars.discourse-cdn.com/v4/letter/j/96bed5/32.png) [@jpsayshello](https://meta.discourse.org/u/jpsayshello)
#### Post date: [June 4, 2018, 9:57pm UTC](https://meta.discourse.org/t/problem-configuring-discourse-saml/89109/3 "2018-06-04T21:57:43Z")

</div>

Thanks @pfaffman  
You were right SSO was not sending all the fields.
