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 Gunther · Sep 28, 2021 at 01:49 AM · apisAuthentication

Are the Duplicate Login Prevention Features Available?

I've found a few questions related to preventing duplicate logins but all the answers are years old and reference upcoming features.

This answer from 2016 says:

"it's possible to add a Cloud Script-based "is the player already logged in" check for until we support blocking second-screen sign-ins."

This more-recent answer from 2020 says:

"We do plan to provide a token-based login, to make this easier in future. We do not have a date for that, but it is in the backlog for prioritization as soon as the entity architecture update is completed."

I'd like to know if these features are currently available or is the best-practice to still use Cloud Script to write our own "current session" token and refresh it every 2 minutes or so while rejecting new logins until the "current session" expires?

Thank you!

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 SethDu · Sep 28, 2021 at 07:38 AM

It is not supported and for now PlayFab login is still stateless. The workaround that Brendan has mentioned in 2016 is feasible. Please feel free to vote or join the discussion in this Feature Requests thread -- Prevent concurrent logins - Playfab Community.

Comment
Gunther

People who like this

1 Show 1 · 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 Gunther · Sep 28, 2021 at 07:27 PM 0
Share

Thank you for the prompt response. I'll vote accordingly.

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

    Server API for AddGenericId and GetPlayFabIDsFromGenericIDs 1 Answer

    ListGroupMembers() for nonmember 1 Answer

    Storing a LoginResult and AuthenticationContext 1 Answer

    Register playfab user does not receive info request params 1 Answer

    Encryption of Steam Ticket using RSA is invalid 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