def make_openid_request(arq, keys, issuer, request_object_signing_alg, recv):
_jwt = JWT(key_jar=keys, iss=issuer, sign_alg=request_object_signing_alg)<EOL>return _jwt.pack(arq.to_dict(), owner=issuer, recv=recv)<EOL>
Construct the JWT to be passed by value (the request parameter) or by
reference (request_uri).
The request will be signed

:param arq: The Authorization request
:param keys: Keys to use for signing/encrypting. A KeyJar instance
:param issuer: Who is signing this JSON Web Token
:param request_object_signing_alg: Which signing algorithm to use
:param recv: The intended receiver of the request
:return: JWT encoded OpenID request