You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: omniauth_callbacks_controller.rb
    path of file: ./repos/Portus/app/controllers/auth
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

class Auth::OmniauthCallbacksController < Devise::OmniauthCallbacksController
  skip_before_action
    
  def gitlab_next(resp)
    # -> github: Link is in headers
    #            and if we are not on last page, we have a last link
    resp.headers.key?("Link") && \
      resp.headers["Link"].include?('rel="last"') && \
      !resp.headers.key?("x-next-page")
  end