Regarding OIDC pluging Get USerInfo REsponse

I want to ask about the discourse openID plugin for userReponse get API is it required to have application/json type. because currently OIDC provider returns as application/jwt.
OpenID Connect UserInfo endpoint | Connect2id and the userInfo response is nil
Actually the problem is the GET API is returning NIL here . @raw_info ||=
begin
info = access_token.get(options[:client_options][:userinfo_endpoint]).parsed

        verbose_log("Fetched userinfo response\n\n#{info.to_yaml}")
        info
      end

Please help me out in this