Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Question Steam signin permission denied

Discussion in 'Authentication' started by Andreas0972, Jun 22, 2023.

  1. Andreas0972

    Andreas0972

    Joined:
    Oct 3, 2018
    Posts:
    1
    I've seen a couple of earlier threads with same or similar problem but they were either related to using 480 app id and not a real one or the steamworks sdk was not up to date.

    Here's what I have setup so far:
    • using Unity 2022.3.2 LTS
    • downloaded steamwork SDK v20.2.0
    • updated steam_appid.txt with a valid app id
    • added identity provider in Project Settings -> Services using a valid app id
    • created a WebAPI key on steam portal and added that to the steam identity provider (seems to work as it shows up in Unity Gaming Services portal with a green light and status Enabled)
    My code does the following steps
    • SteamAPI.init() - works fine
    • GetAuthSessionTicket() gives me a long session ticket, which I'm assuming is a valid one
    • UnityServices.InitializeAsync() - works fine
    • SignInWithSteamAsync([the ticket]) gives an AuthenticationException with Permission Denied, invalid token
    Not sure where to go from here
     
    aliasgar5253 and SomniumCrafter like this.
  2. SomniumCrafter

    SomniumCrafter

    Joined:
    Mar 21, 2022
    Posts:
    1
    Hello,
    I have the same problem...
    could you solve it ?

    Jonas