auth0 / Auth0.swift

Auth0 SDK for Apple platforms
https://auth0.github.io/Auth0.swift
MIT License
345 stars 225 forks source link

fix: removed the possibility of concurrent webauth transactions to handle continuation misuse #848

Closed desusai7 closed 5 months ago

desusai7 commented 5 months ago

📋 Changes

📎 References

auth0/Auth0.swift#827

Checklist

🎯 Testing

Tested by trying to start the below defined two flows at exact same time via both callbacks & async/await approach and found that the code is working as per expectations by cancelling the newly triggering web auth flow and ensuring the existing web auth flow executes completely.

  1. WebAuth flow with google-oauth2 connection using ASWebAuthenticationSession
  2. WebAuth flow with Universal Login using SafariViewController