heroiclabs / nakama

Distributed server for social and realtime games and apps.
https://heroiclabs.com
Apache License 2.0
8.58k stars 1.06k forks source link

UnlinkApple unlinks successfully even though it is the last link. #1198

Closed sametguzeldev closed 1 month ago

sametguzeldev commented 2 months ago

Description

UnlinkApple unlinks even though it is the last link. After unlinking and not having any other links, I am losing the account forever.

Steps to Reproduce

  1. Authenticate with Apple
  2. Call UnlinkApple

Expected Result

Cannot unlink last identifier

Actual Result

Unlinked successfully

Context

Your Environment

linear[bot] commented 2 months ago

NK-539 UnlinkApple unlinks successfully even though it is the last link.

sesposito commented 1 month ago

Hello @sametguzeldev, are you sure the account did not have any other identifier associated with it? The logic seems to be correct as far as I can tell.

sesposito commented 1 month ago

We'll close this issue, please re-open it if you can provide a reproducible example.