Spree::UserRegistrationsController.class_eval do
  private

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

Validate the model when returning from an oauth callback if a new spree user is required
Validate the model when returning from an oauth callback if a new spree user is required
