Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • Bugs /
avatar image
Question by a_rakitin · Jul 22, 2020 at 10:45 PM · Authentication

Login with Android device ID creates new account despite existing account having that identity linked

We encountered this strange behavior during testing linking both an Android device and a Google Play identity to an account.

After a device ID was linked to a profile using LinkAndroidDeviceID with ForceLink = true (in addition to an existing linked Google Play identity), and the device attempted to log in, instead it ended up creating a new profile. In the web interface both profiles - the one linked and the new one - appear to have the same Android device identity.

Title 5ACD2

Profiles with duped identities:

F195769E9DD91AC6 and E97B6D4A88356EA6

8BA2B0B1E07711E0 and 8715A08B58A0EF56

Comment

People who like this

0 Show 6
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Citrus Yan · Jul 23, 2020 at 09:17 AM 1
Share

Hi, we've confirmed this issue in your title and will report it to the engineering team for further investigation, any updates from them will keep you informed, thanks for your feedback on this.

avatar image a_rakitin Citrus Yan · Jul 23, 2020 at 10:25 AM 0
Share

Thanks you! Are there any time estimates on investigating this issue?

We would also like to know if this is a general bug or something specifically affecting the title. This occurred on our dev environment, is it likely to repeat in the live environment (which is a different title ID)?

avatar image Citrus Yan a_rakitin · Jul 24, 2020 at 09:22 AM 1
Share

Just hear from the eg team, and they have some questions, would you please answer them?

1.Are all the multiple links after the unlink were forcelinks or not?

2.Why were you linking the same device id multiple times? Was each time due to you guys logging in to a different player with that same android device ID?

3.Are you able to reproduce it again? And If so, can you do that up and until the point before logging with that credential, and let the eg team know what you would expect so that they can see the state at which you get stuck at?

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by FranklinChen · Aug 04, 2020 at 09:09 AM

Hi @a_rakitin, I had a talk with the engineering team. It might be a race condition possibly where the login API was running as they were running unlink which might explain the weird behavior perhaps

We can't seem to reproduce this account recreation with linked device id issue. Can you reproduce this issue from your side? The players(e.g. DB8704DA7221C25D) seem to be deleted now, do you have any additional cases to investigate from?

Comment

People who like this

0 Show 4 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image a_rakitin · Aug 04, 2020 at 09:59 AM 0
Share

We haven't been able to reproduce this issue during testing since July 24, but I just found several pairs of profiles in our production title where they both appear to have the same Android Device ID linked. We didn't find any cases of a login request failing to find a recently linked account and creating a new one - in this case it appears that ForceLink fails to unlink the identity from its previous profile, or at least takes a long while to do it (over an hour?)

Title 7296C
F22C6005E01FD054 and F2B07DAE670042BC
C93B108BA7D964E6 and E8083325B2C74BBE
18586692C39124B8 and CDBD05D4B58D000C
avatar image FranklinChen a_rakitin · Aug 05, 2020 at 09:05 AM 0
Share

Hi @a_rakitin, we are still unclear if this is our fault. If you're re-using the same Device ID between multiple testers, and so having contention issues due to overlapping calls from different real-world clients, that would be a problem. But that looks like a genuine Device ID in the player accounts.

To narrow down this issue, we still need your help to find the way to reproduce this issue and share our repro steps. If you can share the code snippets of Google authentication + android device id linking part, it may be also helpful. Thanks for your time.

avatar image a_rakitin FranklinChen · Aug 05, 2020 at 02:46 PM 0
Share

We cannot reproduce the original issue - in all recent tests devices properly logged in with correct linked profiles.

As for the pairs of profiles that share the same device ID link, we found it when checking for occurrences of the original issue. We'll look for a way to reproduce it.

Show more comments

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    3 People are following this question.

    avatar image avatar image avatar image

    Related Questions

    Unable to call Send Account Recovery from Unity SDK 3 Answers

    LoginWithApple returning NotAuthorized 1 Answer

    Xbox login fails since last update 1 Answer

    Calling AddOrUpdateContactEmail() after PlayFabClientAPI.LoginWithApple() has no reaction? 1 Answer

    No callbacks from LoginWithAndroidDeviceID? 5 Answers

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges