Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Login with specific player ID

Discussion in 'Authentication' started by Hiago_AD, Jan 24, 2023.

  1. Hiago_AD

    Hiago_AD

    Joined:
    Oct 5, 2021
    Posts:
    20
    I'm making a support tool, and it would be nice for the support to login into the user's account to see if everything is fine, so if I have the player ID, is there a way to login with it?

    Another idea is to copy a player's content into a support account, but the 3rd party logins that I'm using (google and apple) doesn't work on the editor, and login anonymously creates a new account every time, so I'm out of ideas how can I login with a specific account after cleared all the player prefs, so I'm open to new suggestions too.
     
  2. SebT_Unity

    SebT_Unity

    Unity Technologies

    Joined:
    Jun 21, 2021
    Posts:
    278
    Hi Hiago,
    Would you be able to use the dashboard to support you require? Dashboard > LiveOps > Player Management

    Unfortunately 3rd party products don't allow us to login through the Unity Editor. Most tests are platform specific.
    Could you share a scenario of why you would login with a user account?

    Thanks for the additional details.
     
  3. Hiago_AD

    Hiago_AD

    Joined:
    Oct 5, 2021
    Posts:
    20
    The problem:
    * The user opens a ticket saying something is wrong
    * Support goes into the Unity Dashboard, finds what is wrong, and fixes.
    * How to test if the fix does in fact fix the problem?

    Solution 1 (not desired):
    * Go into the user's account and validate if everything is working
    Solution's problem:
    * There is no way of logging in into that account
    * It is obviously not desired, we should have means to do it without interfering with the user's account.

    Solution 2 (desired):
    * Copy all the content from the user's account
    * Dump it into a support account
    Solution's problem:
    * Sometimes we need to clear all the local stored data (cache) so all the data comes from the server
    * The only method available for login in the Unity Editor is anonymously, and if the check needs all the player prefs to be deleted, so you can't have the support account's ID to dump the copy of the user content.
     
    SebT_Unity likes this.