SSO user creation error

I am getting the error below. Is this due to the avatar_url beind undefined or has anyone seen this before? Are there defaults I need to set? Can I just not pass a parameter if empty/undefined?

Failed to create or lookup user: undefined method `edit_history_public=ā€™ for #UserOption:0x007f02a0fcd330.


nonce: e26e71fc8fa14efe20e3eeb4d6d889f9
name: Nonce
username: nonceTestandUserName@test.com
email: nonceTestandUserName@test.com
avatar_url: undefined
avatar_force_update: 
require_activation: false
about_me: 
external_id: f7164f5c32d2421d8a4724c17f376643
return_sso_url: 
admin: 
moderator: 
suppress_welcome_message: 

/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activemodel-4.2.6/lib/active_model/attribute_methods.rb:433:in `method_missing'
/var/www/discourse/app/models/user_option.rb:37:in `set_defaults'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:164:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:504:in `block in call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:504:in `each'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:504:in `call'

Iā€™m getting the same issue. Anyone out there know how to interpret/what to do here?

Could you give us a little more info?

What is the data you are including in your payload? Any other details you could give us?

2 Likes