Realm iOS SDK user identities missing

After successfully logging a user in or signing a user up the identities property on the user object contains the appropriate user identities e.g ["oauth2-apple"] however the persisted user object that is loaded when calling app.currentUser() when the app is restarted always contains an empty identities array, regardless of which provider was used to authenticate the user. Is this the intended behaviour? it makes it very difficult to determine if a user is logged in anonymously or with another provider. Are we supposed to record this info ourselves in the custom data document?

@Theo_Miles This sounds like an issue - we should be preserving the identities array - can you file an issue here

A reproduction case would be helpful

Thanks, will create an issue there.

Update: Github issue is being tracked here, this is indeed a bug

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.