Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Auth] Swift 6 improvements for AuthRecaptchaVerifier #14240

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

ncooke3
Copy link
Member

@ncooke3 ncooke3 commented Dec 10, 2024

No description provided.

@google-oss-bot
Copy link

1 Warning
⚠️ Did you forget to add a changelog entry? (Add #no-changelog to the PR description to silence this warning.)

Generated by 🚫 Danger

Base automatically changed from nc/recaptcha to main February 3, 2025 16:40
@ncooke3 ncooke3 force-pushed the nc/recaptcha-improvements branch from 71f50a1 to 1fe3323 Compare February 18, 2025 15:35
@ncooke3 ncooke3 marked this pull request as ready for review February 18, 2025 22:35
Comment on lines -79 to -86
class func shared(auth: Auth?) -> AuthRecaptchaVerifier {
if _shared.auth != auth {
_shared.agentConfig = nil
_shared.tenantConfigs = [:]
_shared.auth = auth
}
return _shared
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the sample app, I tried the following using the current code (red diff):

  1. initialize recaptcha (success)
  2. switch to configured secondary app
  3. initialize recaptcha (threw internal error)

I tried these steps again with the new code, and I got the same result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants