# Discourse-saml as sole login method

**URL:** <https://meta.discourse.org/t/discourse-saml-as-sole-login-method/66916>\
**Category:** Self-hosting\
**Created:** [27 Luglio 2017, 11:12am UTC](https://meta.discourse.org/t/discourse-saml-as-sole-login-method/66916 "2017-07-27T11:12:09Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![alexweej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alexweej/32/120813_2.png) [@alexweej](https://meta.discourse.org/u/alexweej)\
**Post date:** [27 Luglio 2017, 11:12am UTC](https://meta.discourse.org/t/discourse-saml-as-sole-login-method/66916/1 "2017-07-27T11:12:09Z")

</div>

I can see from the admin settings that the built-in (_non-SAML_) SSO support can do things like:

- sso overrides bio - Overrides user bio in user profile and prevents user from changing it

- sso overrides email - Overrides local email with external site email from SSO payload on every login, and prevent local changes. (WARNING: discrepancies can occur due to normalization of local emails)

- sso overrides username - Overrides local username with external site username from SSO payload on every login, and prevent local changes. (WARNING: discrepancies can occur due to differences in username length/requirements)

- sso overrides name - Overrides local full name with external site full name from SSO payload on every login, and prevent local changes.

- sso overrides avatar - Overrides user avatar with external site avatar from SSO payload. If enabled, disabling allow\_uploaded\_avatars is highly recommended

Is there any way to achieve the same thing with the discourse-saml plugin? Would it require source code changes?

Thanks

Alex

---

_[View the full topic](https://meta.discourse.org/t/discourse-saml-as-sole-login-method/66916)._
