Just to clarify, Okta session tokens are one-time use and they look like this: 00HiohZYpJgMSHwmL9TQy7RRzuY-q9soKp1SPmYYow
Okta id/access tokens are JWTs and look like this: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTY2OTEzODgzMywiZXhwIjoxNjY5MTQyNDMzfQ.yfB9-5pyLRzUWsfeYxTSc5g9FrNTbKq6SqkA7FAGE7U
I think I explained wrongly sorry. So for login, we redirect to OKTA hosted and user logs in and get redirected to the web app. Then on Signout, we call SignOutResult as per example I refered too.
I’m not exactly sure where the issue is (if its a token issue or not) but Pen Testing used a Proxy Interceptor so that they can grab the request and replay it. Once they logged out, they replayed the request and it still authenticated and worked. Once they login again, that request replay does not work anymore so on subsequent login whatever is getting invalidated works for previous requests.
But when I repeat the API call to our application (not okta, same one as I had done when logged in to get some data from out app api), it is still authorised which should not.