nginx_phantom_token_module icon indicating copy to clipboard operation
nginx_phantom_token_module copied to clipboard

When multiple Accept headers are sent, some are transferred in the introspection request.

Open anestos opened this issue 3 years ago • 0 comments

If the calling client sends more than one Accept header, i.e Accept: application/json Accept: application/json, the request to the introspection endpoint done by the module will also include an extra Accept header (Accept: application/jwt, Accept: application/json). This causes the identity server to not always choose to reply with JWT.

The module should always only send one Accept header in the introspection subrequest, no matter how many the client originaly sent

anestos avatar Jul 07 '21 07:07 anestos