Intermittent Token Refresh Failures Affecting a Subset of Users. #8138
              
                Unanswered
              
          
                  
                    
                      awais-wego
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment
-
| Apologies, I don't have anything specific but I wonder if the refresh may have something to do with network status or latency or limitations of some sort. Stated differently, perhaps with some number of retries with an incremental backoff in retry interval might work, in combination with logging out network state to check the hypothesis | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, Team!
I am using the following method to refresh the Firebase authentication token and send it to our backend for user verification. However, for a small subset of users, this Firebase method fails to refresh the token. I have attempted alternative approaches, but the issue persists. The failure occurs randomly and not consistently.
Could you please suggest a reliable solution to address this issue? Below is the current implementation I am using:
Previously, I handled the token refresh logic as follows:
Any guidance on resolving this issue would be greatly appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions