You may enable the rotational refresh tokens for your single-page applications. With Refresh Token enabled calls to renew the tokens don’t depend on cookies so it will help to avoid 3rd party cookie limitations.
Set the useRefreshTokens option to true for the auth0-spa-js library.
await createAuth0Client({
domain: '<AUTH0_DOMAIN>',
client_id: '<AUTH0_CLIENT_ID>',
redirect_uri: '<MY_CALLBACK_URL>',
useRefreshTokens: true
});
Along with this change in the application configuration, you need to enable the Refresh Token.