In theory you shouldn’t need to… but I usually do to protect from the off-chance that ZeroTrust gets

In theory you shouldn’t need to… but I usually do to protect from the off-chance that ZeroTrust gets some sort of bug that allows an endpoint public access accidentally. Since I’m verifying the token from the header, I can still shut it down. If you don’t verify it but just trust the jwt contents blindly, you could be exposed. But again, this is talking about what is probably really really rare
Was this page helpful?