Sha256: 8c3012ca293c8c2bf7bd29cfb86aa8ab700beb2abb7e248a624c6077d7abe20d

Contents?: true

Size: 353 Bytes

Versions: 15

Compression:

Stored size: 353 Bytes

Contents

module Doorkeeper
  module OpenidConnect
    class UserinfoController < ::Doorkeeper::ApplicationController
      skip_before_action :verify_authenticity_token
      before_action -> { doorkeeper_authorize! :openid }

      def show
        render json: Doorkeeper::OpenidConnect::UserInfo.new(doorkeeper_token), status: :ok
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
doorkeeper-openid_connect-1.7.1 app/controllers/doorkeeper/openid_connect/userinfo_controller.rb
doorkeeper-openid_connect-1.7.0 app/controllers/doorkeeper/openid_connect/userinfo_controller.rb
doorkeeper-openid_connect-1.6.3 app/controllers/doorkeeper/openid_connect/userinfo_controller.rb
doorkeeper-openid_connect-1.6.2 app/controllers/doorkeeper/openid_connect/userinfo_controller.rb
doorkeeper-openid_connect-1.6.1 app/controllers/doorkeeper/openid_connect/userinfo_controller.rb
doorkeeper-openid_connect-1.6.0 app/controllers/doorkeeper/openid_connect/userinfo_controller.rb
doorkeeper-openid_connect-1.5.5 app/controllers/doorkeeper/openid_connect/userinfo_controller.rb
doorkeeper-openid_connect-1.5.4 app/controllers/doorkeeper/openid_connect/userinfo_controller.rb
doorkeeper-openid_connect-1.5.3 app/controllers/doorkeeper/openid_connect/userinfo_controller.rb
doorkeeper-openid_connect-1.5.2 app/controllers/doorkeeper/openid_connect/userinfo_controller.rb
doorkeeper-openid_connect-1.5.1 app/controllers/doorkeeper/openid_connect/userinfo_controller.rb
doorkeeper-openid_connect-1.5.0 app/controllers/doorkeeper/openid_connect/userinfo_controller.rb
doorkeeper-openid_connect-1.4.0 app/controllers/doorkeeper/openid_connect/userinfo_controller.rb
doorkeeper-openid_connect-1.3.0 app/controllers/doorkeeper/openid_connect/userinfo_controller.rb
doorkeeper-openid_connect-1.2.0 app/controllers/doorkeeper/openid_connect/userinfo_controller.rb