# SSO won't create user as admin or suppress welcome message

**URL:** https://meta.discourse.org/t/sso-wont-create-user-as-admin-or-suppress-welcome-message/48711
**Category:** SSO
**Created:** [16. August 2016 um 19:15 UTC](https://meta.discourse.org/t/sso-wont-create-user-as-admin-or-suppress-welcome-message/48711 "2016-08-16T19:15:29Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mb450](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mb450/32/121465_2.png) [@mb450](https://meta.discourse.org/u/mb450)
#### Post date: [16. August 2016 um 19:15 UTC](https://meta.discourse.org/t/sso-wont-create-user-as-admin-or-suppress-welcome-message/48711/1 "2016-08-16T19:15:29Z")

</div>

Hi,

New to discourse and having a problem with SSO.

Before signing my payload looks like this.  
“nonce=d09ba51dbc2094e47f5b8e85d5612520&external\_id=539692721&email=admin%[blah.uk](http://blah.uk)&name=Tadmin&avatar\_force\_update=1&admin=1&suppress\_welcome\_message=1”

The user is created but isn’t an admin and does get a welcome message.

What am I doing wrong?

Cheers

Matt

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [16. August 2016 um 19:22 UTC](https://meta.discourse.org/t/sso-wont-create-user-as-admin-or-suppress-welcome-message/48711/2 "2016-08-16T19:22:45Z")

</div>

Try using `true` instead of 1.

---

<div class="post-metadata">

### Author: ![mb450](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mb450/32/121465_2.png) [@mb450](https://meta.discourse.org/u/mb450)
#### Post date: [16. August 2016 um 19:39 UTC](https://meta.discourse.org/t/sso-wont-create-user-as-admin-or-suppress-welcome-message/48711/3 "2016-08-16T19:39:59Z")

</div>

Thanks Simon - that did it.

If anyone else encounters this problem when php and http\_build\_query it’s because http\_build\_query will change any boolean to 1 or 0.
