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 /
avatar image
Question by Vallcrist · Aug 16, 2016 at 05:05 PM · Account ManagementAuthentication

Adding Email/Password after account creation

Hello everyone!

I need to support the following use case:

* Player enters game
* Login with anonymous ID\Facebook Login
* After some time, I want to offer to the user the option of creating a "Full" account, one with email/password as well as their previous integration.

On the docs I see that you can start with an email/password account and then link other services, however seems like the reverse is not possible, starting with a facebook account link and then adding email/password at a later time.

Comment

People who like this

0 Show 0
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

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Brendan · Aug 16, 2016 at 07:14 PM

You can use AddUsernamePassword to add username, email, and password to an account created without them (via Facebook or any of the ID-based login calls). Can you give that a try, and let us know if you encounter any issues?

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 nikolalemmens · Dec 31, 2018 at 02:58 PM 0
Share

I do exactly as above and use AddUsernamePassword. Works nicely. But as I don't want to confuse the players with an extra username (they already chose a title display name), and the username is required in AddUsernamePassword, I just pass in the Player Id again.

Is there a reason why AddEmailPassword, without a username required, isn't possible?

avatar image Brendan ♦♦ nikolalemmens · Jan 01, 2019 at 01:32 AM 1
Share

Well, the specific answer to your question is yes, there's no API that does what you describe (set the email and password, without a Username), since all three fields are required in the existing API call. What I would recommend is adding a post to our Feature Requests forum area, so that others can see your request and potentially "like" it (which helps with prioritization).

avatar image Johan de Bruin Brendan ♦♦ · Oct 20, 2020 at 05:37 PM 0
Share

+1 My game have a usecase for this feature (We don't use usernames to login, only email).

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

    4 People are following this question.

    avatar image avatar image avatar image avatar image

    Related Questions

    Get Language List fails at Entity Authentication 2 Answers

    LinkAndroidDeviceID Login with Email Address at a later stage 1 Answer

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

    Best Login practices 1 Answer

    User log in with unsupported platform 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