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

Anonymous Auth Verify Can't Connect Account for Email / Password #11911

Closed
mikaelacaron opened this issue Oct 7, 2023 · 3 comments · Fixed by #11925 or #12009
Closed

Anonymous Auth Verify Can't Connect Account for Email / Password #11911

mikaelacaron opened this issue Oct 7, 2023 · 3 comments · Fixed by #11925 or #12009
Assignees

Comments

@mikaelacaron
Copy link

Description

Expected

Using Firebase anonymous authentication, and allowing a user to sign up with email / password to create their "permanent account"

Actual

Using Firebase anonymous authentication I am able to have an anonymous user, but then using Email / Password sign up and connecting the anonymous user to this info, it fails with the error "Please verify the new email before changing email"

Reproducing the issue

I was mostly following this example Firebase code, the auth-account-linking example, but when trying to sign in I would get the error "Please verify the new email before changing email" Sorry I don't have a full test project at the moment.

I was only doing anonymous auth and Email / password, not using Sign in With Apple or Google

Favourites.zip

Firebase SDK Version

10.15

Xcode Version

15.0

Installation Method

Swift Package Manager

Firebase Product(s)

Authentication

Targeted Platforms

iOS

Relevant Log Output

No response

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet
Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet
Replace this line with the contents of your Podfile.lock!
@google-oss-bot
Copy link

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

@paulb777
Copy link
Member

paulb777 commented Oct 7, 2023

See #11886 for a duplicate, explanation and workaround.

I'll leave this issue open to track updating the samples.

@morganchen12 morganchen12 changed the title Anonymous Auth Verify Can't Connect Account for Email / Paswword Anonymous Auth Verify Can't Connect Account for Email / Password Oct 10, 2023
@morganchen12 morganchen12 pinned this issue Oct 13, 2023
@renkelvin renkelvin linked a pull request Oct 13, 2023 that will close this issue
@paulb777 paulb777 added this to the 10.17.0 - M139 milestone Oct 17, 2023
@paulb777
Copy link
Member

Reopened since #11925 was reverted.

@paulb777 paulb777 reopened this Oct 18, 2023
@paulb777 paulb777 assigned renkelvin and unassigned morganchen12 Oct 18, 2023
@paulb777 paulb777 unpinned this issue Nov 14, 2023
@firebase firebase locked and limited conversation to collaborators Dec 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.