pavlenkodev commented on issue #10730: URL: https://github.com/apache/apisix/issues/10730#issuecomment-1905466131
Hello! I also think that the serverless-plugin has no problem. I suspect that the error occurs in vars[ ] when using built-in parameter. Base example ``` curl "http://localhost:9080/my-route" -H "Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NSIsIm5hbWUiOiJKb2huIERvZSIsImlhdCI6MTUxNjIzOTAyMn0.0flS6CW7wKowP05D5aTQTIAAc0GnNjwr7o5JEVgqwto" ``` This authorization token contains sub = 12345, which I specified in my test route. To generate a token, I use jwt.io website Before the route can process the request, it is necessary that the built-in parameter with the name sub = 12345 I also specified "IN" in vars, since I use it myself and the bug is reproduced under such conditions. That is, when solving a problem, it is necessary to look at a case in which several parameters are expected in vars by "IN". @shreemaan-abhishek Did I understand you correctly and will my answer help in any way? or have I not disclosed the topic enough? -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
