godot-playfab icon indicating copy to clipboard operation
godot-playfab copied to clipboard

Implement Login Steam API

Open TheDedemon opened this issue 2 years ago • 4 comments

Implement API in order to login with Steam.

Docs: https://learn.microsoft.com/en-us/rest/api/playfab/client/authentication/login-with-steam?view=playfab-rest

  • [x] Implement new request

  • [x] Update documentation

    • [x] Add example with a Steam Auth Session Ticket

    • [x] Add example with a Steam Auth Ticket for Web API


Additional notes:

  • Don't forget to cancel Steam Auth Tickets in the examples.

TheDedemon avatar Dec 15 '23 11:12 TheDedemon

Perhaps it would make sense to create a separate package for this, as there are hard dependencies on GodotSteam?

Structed avatar Dec 18 '23 09:12 Structed

GodotSteam is not required in order to login into PlayFab with Steam. Only string and bools are needed. I just use GodotSteam to do my tests easily (I don't want to do my own wrapper 😄) and give an example for other developers.

TheDedemon avatar Dec 18 '23 13:12 TheDedemon

I see, I just figured it might be cool to add a package that wraps what you get from GodotSteam!

Structed avatar Dec 18 '23 13:12 Structed

Hmm, I don't know. I used a "wrapper" in my test that I will show in the documentation. Making a package for that is maybe over-engineered. Furthermore, GodotSteam or the SteamSDK (C++) is very big (auth, leadeboard, pvp, ...) and contains many subtleties that developers should be aware (session begin / end, auth create / cancel, ...)

TheDedemon avatar Dec 18 '23 14:12 TheDedemon

Implemented with #132

Structed avatar Jun 01 '24 17:06 Structed