How to simulate errors for testing auth0-spa-js failures?

I would like to test for failure cases specifically in regards to getTokenSilently and getIdTokenClaims. How can I do this locally most effectively? I want to make sure our system properly handles when auth0 fails.

Hey there!

We don’t have specific guidance on testing those two from auth0-spa-js however maybe you will find that article useful:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.