MaikuB / flutter_appauth

A Flutter wrapper for AppAuth iOS and Android SDKs
269 stars 238 forks source link

[ Concurrent API calls ] #483

Open Gobmichet opened 4 months ago

Gobmichet commented 4 months ago

Hi, Thanks for the work,

What about concurrent calls ? I mean let's say for the exemple :

Won't this provoke refresh tokens infinite loop ? How to handle this ? How does your lib handle this ?

'cause Queue.lock( ) / .unlock( ) that would intervene on [ Error 401 ("token-expired") ] would trigger too late so...

Thanks in advance (^_^)