Sha256: 92e6a6b050263a24da6b28c6950492a3e1ec7a9dc294d849a120e756cc24f4e9

Contents?: true

Size: 376 Bytes

Versions: 3

Compression:

Stored size: 376 Bytes

Contents

# frozen_string_literal: true

module Doorkeeper
  module OpenidConnect
    module ResponseTypeConfig
      private def calculate_authorization_response_types
        types = super
        if grant_flows.include? 'implicit_oidc'
          types << 'token'
          types << 'id_token'
          types << 'id_token token'
        end
        types
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
doorkeeper-openid_connect-1.7.5 lib/doorkeeper/openid_connect/response_types_config.rb
doorkeeper-openid_connect-1.7.4 lib/doorkeeper/openid_connect/response_types_config.rb
doorkeeper-openid_connect-1.7.3 lib/doorkeeper/openid_connect/response_types_config.rb