# Programmatically adding users when SSO is being used

**URL:** <https://meta.discourse.org/t/programmatically-adding-users-when-sso-is-being-used/79925>\
**Category:** SSO\
**Created:** [February 6, 2018, 4:33pm UTC](https://meta.discourse.org/t/programmatically-adding-users-when-sso-is-being-used/79925 "2018-02-06T16:33:55Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Philip\_Colmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/philip_colmer/32/120245_2.png) [@Philip\_Colmer](https://meta.discourse.org/u/Philip_Colmer)\
**Post date:** [February 6, 2018, 4:56pm UTC](https://meta.discourse.org/t/programmatically-adding-users-when-sso-is-being-used/79925/3 "2018-02-06T16:56:26Z")

</div>

Thanks … one issue I can think of is that I have to supply a password when creating the user. Presumably, if SSO is being enforced, Discourse actually ignores the password I’ve provided? (Testing would prove that, I guess!)

---

_[View the full topic](https://meta.discourse.org/t/programmatically-adding-users-when-sso-is-being-used/79925)._
