Validate the model when returning from an oauth callback if a new spree user is required
user
```ruby
Spree::UserRegistrationsController.class_eval do
  private

  def build_resource(*args)
    super
    if session[:omniauth]
      @user.apply_omniauth(session[:omniauth])
      @user.valid?
    end
  end
end
```
assistant