Failed to validate session token error after revoking client secret

Hello!

I’ve been struggling with this for several hours and haven’t found a solution yet :frowning:
I have an embedded app that is already approved and published, and I made it using the Remix template.

Due to security reasons, I had to revoke the client secret with a new one. I haven’t deleted the old one yet tho. Because since I did the change, in my test store I cannot make the app work properly. After enabling debug logging I see the following message:

Failed to validate session token: Failed to parse session token signature verification failed

I read here that I need to refresh the access token, but I don’t know where exactly where to put this API call. Also, while trying several things to fix this issue, I removed the stored session in the prisma DB, so I don’t have the old access token anymore.

I would appreciate any help into fixing this please :folded_hands:

This is solved now. Turns out the Shopify API keeps using the old client secret instead of the new one even on newer installations, until you revoke it.