I have setup API using JWT as authentication method. I have my own IDP that generates JWT bases on request values provided to it, Now when I request JWT from my own service and provide it to tyk, it applies policy provided in JWT, In policy I have set expiry of key to one hour. All the keys get expired after an hour. But I need to use the same request values to generate new JWT with new policy that has expiry time as 24 hours. My question is how can I delete existing Api Tokens from the tyk so that I could use same request values to generate new JWT that has applied with new policy ?
I have change the policy but other parameters of JWT are same so changing policy ID doesnt have any effect. Tyk takes policy ID from jwt token and apply that policy but other parameters are same so says that key is expired/