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

(Matt) #1


New to discourse and having a problem with SSO.

Before signing my payload looks like this.

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

What am I doing wrong?



(Simon Cossar) #2

Try using true instead of 1.

(Matt) #3

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.