question

Harun [not provided] avatar image
Harun [not provided] asked

How to LoginWithSteam ?

Hey there,

I'm trying to login with steam but I keep getting "Invalid Steam ticket" error. Here is the Code snippet what I'm doing ;

http://www.hastebin.com/obewugicoh.avrasm

Login failed every single time, using Steamworks.NET as Steam API wrapper.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

brendan avatar image
brendan answered

First, please do add your Steam Secret Key for the title to your Settings->Secret Keys configuration.

Next, the Steam ticket is not usable as-is from GetAuthSessionTicket, as what you're getting back is in hexadecimal format. You need to first convert it to a string, as shown in the API documentation: https://api.playfab.com/Documentation/Client/method/LoginWithSteam.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Harun [not provided] avatar image
Harun [not provided] answered

Hey there,

As I doubt, I put the wrong "Publisher Key" into "Steam Secret Key" on playfab. It works like a charm right now. Thanks for your time.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.