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 /
  • API and SDK Questions /
This question was closed Oct 31, 2019 at 11:48 AM by Muhammad Roshaan Tariq for the following reason: The question is answered, right answer was accepted
avatar image
Question by Muhammad Roshaan Tariq · Sep 02, 2019 at 08:28 AM · Account ManagementAuthentication

LinkAndroidDeviceID Login with Email Address at a later stage

Hi, I have created a game in which I have used LoginWithAndroidDeviceID for Android device and LoginWithIOSDeviceID in case of iOS device.

The reason I created this login in my game is to create a seemless login approach but in order to keep my users access their saved data on any device I want them to enter their email addresses at a later stage (after playing game 3 to 5 times)

How can I link their deviceID accounts to their email accounts? I tried using this LoginWithEmailAddress request but it gives an error "Account not found!"

Is there any special parameter I have to pass using this request which will point it to the deviceID account and then links it with it? OR Is there something I'm missing?

I have found couple of posts regarding this query but they weren't much of help for me that's why I have created another post with as much detail as possible. Thank you!

Comment
Roshaan

People who like this

1 Show 2
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 Muhammad Roshaan Tariq · Sep 02, 2019 at 05:58 AM 0
Share

@Citrus Yan @Brendan Can you please guide me ASAP as I have a client waiting who needs it done ASA. Thank you!

avatar image Muhammad Roshaan Tariq · Sep 02, 2019 at 08:10 AM 0
Share

@SethDu Can you please guide me ASAP as I have a client waiting who needs it done ASAP. Thank you!

1 Reply

  • Sort: 
avatar image
Best Answer

Answer by SethDu · Sep 02, 2019 at 08:42 AM

Players can login into their accounts to call AddUsernamePassword to add it. Either username and email adress is available in this API.

LoginWithEmailAddress is an API for login, which is like LoginWithAndroidDeviceID. It cannot be used for linking accounts.

Comment

People who like this

0 Show 3 · 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 Muhammad Roshaan Tariq · Sep 02, 2019 at 08:55 AM 0
Share

Will they be able to use LoginWithEmailAddress after adding Username/EmailAddress to their deviceID account?

Because I want them to be able to login from another device if they want to.

avatar image SethDu ♦ Muhammad Roshaan Tariq · Sep 02, 2019 at 09:24 AM 0
Share

Yes, of course they can. As after doing that, both email and device ID will be the identities for login. You may refer to my replies in this thread: https://community.playfab.com/questions/31436/linking-accounts-does-not-update-stats.html. (Even though the email and password will be stored in the Master Player Account field instead of Identities in the Game Manager).

avatar image Muhammad Roshaan Tariq Muhammad Roshaan Tariq · Sep 02, 2019 at 09:26 AM 0
Share

@SethDu Alright thank you I will try and keep this post updated to let you know if the problem is resolved or not.

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

    Get Language List fails at Entity Authentication 2 Answers

    Error Code 1011: AccountAlreadyLinked 1 Answer

    User log in with unsupported platform 1 Answer

    How to check how many sessions each player has opened? 1 Answer

    Google login issues not using GPGS for Unity not working consistently? Code already redeemed 1 Answer

    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