From the example provided by auth0, after user call auth0Web.loginWithRedirect(
redirectUrl: ‘https://myRedirect.com’,
);
The result is void, then how can we exchange tokens with authorization code?
From auth0-spa-js we can know that FE need call handleRedirectCallback, but auth0_web for flutter don’t have this api, shall we call it by javascript manually?
Can you help me understand what you mean here? Upon successful authentication with loginWithRedirect users should be redirected back to your to your application. There isn’t a direct equivalent to handleRedirectCallback but maybe the onLoad method is what you’re looking for.