You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/02/18 01:21:02 UTC

[GitHub] [apisix] tokers commented on issue #3594: how to set the JWT content as header values?

tokers commented on issue #3594:
URL: https://github.com/apache/apisix/issues/3594#issuecomment-780967909


   @henryfoster Try the [serverless plugin](https://github.com/apache/apisix/blob/master/doc/plugins/serverless.md), you can fetch the Authorization header in it (like `ngx.req.get_headers`, `ngx.var.http_authorization`) but one thing should be noticed that you cannot get any JWT parsing artifacts generated by Apache APISIX so you may need to do the duplicate works, or you may try to get insight into the JWT code base in Apache APISIX to write concise codes.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org