You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our existing JWT token payload not contains key, due to we are getting error "missing user key in JWT token".
Here Apache APISIX expects a specific key in the JWT payload, which is not present in our existing token.
Does Apache APISIX's jwt-auth plugin must requires the key value defined in the consumer ?
How to resolve this issue without modifying our existing token payload ?
bala@kubelancer ~ % curl -s -i -X GET "httpbin1.poc.kubelancer.net/get?foo1=bar1&foo2=bar2" -H "Authorization: Bearer ${TOKEN}"HTTP/1.1 401 UnauthorizedDate: Tue, 18 Jun 2024 12:54:08 GMTContent-Type: text/plain; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Server: APISIX/3.9.1
{"message":"missing user key in JWT token"}
bala@kubelancer ~ %
The text was updated successfully, but these errors were encountered:
Issue: missing user key in JWT token
Our existing JWT token payload not contains key, due to we are getting error "missing user key in JWT token".
Here Apache APISIX expects a specific key in the JWT payload, which is not present in our existing token.
Does Apache APISIX's jwt-auth plugin must requires the key value defined in the consumer ?
How to resolve this issue without modifying our existing token payload ?
The text was updated successfully, but these errors were encountered: