Skip to content

Auth user name change after a few hours to the one before after change. #13571

Open
@jesus-mg-ios

Description

@jesus-mg-ios

Description

After a user authenticated through the Apple authentication provider changes their username in our Application, sometimes the username reverts to its previous value after a few hours.

Reproducing the issue

Change the name with

func updateName(userName: String) {
let changeRequest = currentUser?.createProfileChangeRequest()
changeRequest?.displayName = userName
changeRequest?.commitChanges()
}

being currentUser the Auth property

Firebase SDK Version

10.25.0

Xcode Version

15.2

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!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions