Sha256: f2f529595d87b03820ca200e8e52843f6e3b2201bb08020b72721f3905b804fa
Contents?: true
Size: 613 Bytes
Versions: 15
Compression:
Stored size: 613 Bytes
Contents
# frozen_string_literal: true module Doorkeeper module OpenidConnect module OAuth module AuthorizationCodeRequest private def after_successful_response super nonce = if (openid_request = grant.openid_request) openid_request.destroy! openid_request.nonce end id_token = Doorkeeper::OpenidConnect::IdToken.new(access_token, nonce) @response.id_token = id_token end end end end OAuth::AuthorizationCodeRequest.prepend OpenidConnect::OAuth::AuthorizationCodeRequest end
Version data entries
15 entries across 15 versions & 1 rubygems