getTokenSilently({ cacheMode: 'off' }) Timeout

We have a user experiencing intermittent timeouts on getTokenSilently({ cacheMode: ‘off’ }) on Google Chrome.

This happens on both regular login and signup. Other Chrome users on the same app are unaffected.

Setup:

  • cacheLocation: ‘localstorage’
  • useRefreshTokens: true
  • scope: openid profile email offline_access

Questions:

1. what would cause getTokenSilently time out despite useRefreshTokens: true and offline_access scope?

2. What is the recommended way to get fresh claims after email verification without relying on getTokenSilently?