Is renewAuth deprecated?

I’m struggling to figure out how to refresh the idToken when the JTW expires.

Googling turned up someone else had the same problem, and they were pointed to an auth0-react-samples example that’s now gone. This commit message reads “Migrating from renewAuth to checkSession”.

Is renewAuth deprecated?

TL;DR - I’m migrating from Firebase Auth (for the sole reason that social logging in takes ~5 seconds) and I’ve been spending days trying to figure out the most common Auth0 authorization flow: React app allows social login -> makes authenticated API request to our server -> server validates JTW -> repeat (which means dealing with expired JTWs).