I think we are solving the problem that the VerifyJWT policy is throwing an error.
The purpose of the VerifyJWT policy is to Verify a JWT. In order to verify a JWT, you must have a JWT. The way the policy works: it retrieves the JWT from a context variable that you specify.
I don’t understand your comment:
i dont want to pass. i want to get json token
You must have a JWT to verify if you want to verify it. It makes no sense to use VerifyJWT if you don’t have a JWT. If you want to generate a token, use the GenerateJWT policy. IF you don’t want to verify a JWT, don’t use the VerifyJWT policy.
I don’t know what problem we are trying to solve right now.
What is the problem?
please check video
I’m not interested in looking at a video contained in the Apigee docs. Explain YOUR PROBLEM to me, in your words. Your explanation of the problem up until now are not sufficient. Try to use more words, and more sentences than you think are necessary. I am utterly unclear at this point, even after all the back and forth, as to your problem. So take it slow and give me all the details.
What are you trying? (give specific details)
What results are you expecting to see?
What results are you actually seeing?
Explanations like “i dont want to pass. i want to get token” and “please check video” are not helpful to me. That clarifies nothing. You will need to elaborate in much more detail if you’d like to get some help. Use nouns, verbs, subjects and predicates. Paragraphs. EXPLAIN. Address ALL THREE questions I posed above.
There’s an error in the VerifyJWT policy that results in this unexpected behavior. We’ve previously logged this error and have a fix which will be released as soon as we can release it. In the meantime you will have to work around this behavior.