question

Dylan Hunt avatar image
Dylan Hunt asked

How to use Steam API (NOT steamworks) to link Steam account?

I'd be using this in Node and Unity.

It seems that this only works with steamworks.. what about the steam API (different - used BEFORE getting approved to Steam)?

10 |1200

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

1 Answer

·
brendan avatar image
brendan answered

Can you point us to the specific Steam documentation you're referring to? Our Steam integration requires a token from the Steam service, which is based upon the player being signed into the Steam client.

2 comments
10 |1200

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

Dylan Hunt avatar image Dylan Hunt commented ·

@Brendan https://steamcommunity.com/dev >> They use OpenID to sign in. However, the token you mention is only returned in Steamworks and not the regular Steam API. The Steam API generally only returns public data with the exception of OpenID, which can be used to sign in places through Steam (similar to Facebook's login system)

0 Likes 0 ·
brendan avatar image brendan Dylan Hunt commented ·

We specifically use the session ticket you get from a call to GetAuthSessionTicket (https://partner.steamgames.com/documentation/auth#client_to_backend_webapi) for Steam sign-in. The OpenID system is most commonly for web site sign-in, and wouldn't really be valid for the auth model we provide.

0 Likes 0 ·

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.