MaikuB / flutter_appauth

A Flutter wrapper for AppAuth iOS and Android SDKs
274 stars 246 forks source link

Secondary call to authorizeAndExchangeCode causes crash in iOS #480

Open adrian-john-hall opened 9 months ago

adrian-john-hall commented 9 months ago

If a second call to authorizeAndExchangeCode is made with different additionalParameters while a first call is still in operation it causes a terminal error in the app.

This is only a problem in iOS and debugging in XCode exposes the following error, which appears to be caused as the original authentication window is being replaced by the new request:

image