I'm getting this error TypeError: Cannot read property 'loginWithRedirect' of undefined at login (auth0.js) (90% of the time), so I started looking for the problem. Turns out Svelte Docs say getContext Must be called during component initialisation. So I think all uses of getContext in auth0.js functions are not supported.
I'm getting this error
TypeError: Cannot read property 'loginWithRedirect' of undefined at login (auth0.js)
(90% of the time), so I started looking for the problem. Turns out Svelte Docs say getContext Must be called during component initialisation. So I think all uses of getContext in auth0.js functions are not supported.