Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Question Unity Player Accounts and Soft Logins

Discussion in 'Authentication' started by elevenab_unity, Aug 22, 2023.

  1. elevenab_unity

    elevenab_unity

    Joined:
    Mar 9, 2020
    Posts:
    16
    Hello,
    we just switched to Unity Player Accounts. We show a login button to sign the player into the service

    cache the access token and reuse it to do silent logins

    AuthenticationService.Instance.SignInWithUnityAsync(acesstoken);

    but after a while these access tokens timeout and the user has to go through the signing process again.
    What am I doing wrong?
     
  2. MiTschMR

    MiTschMR

    Joined:
    Aug 28, 2018
    Posts:
    529