Assure auth0-spa-js is ready before accessing $auth

I am using renewTokenSilently() in an interceptor. It seems that $auth is not ready by the time I try to access it. Has anyone had luck wrapping the plugin (my index.js is exactly what the Vue QuickStart has) with a promise to use in main.js?

After trying a few different solutions this one worked! Make sure to await on the action.

Glad to hear that and thanks for sharing with the rest of community!

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