Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • API and SDK Questions /
avatar image
Question by Ollie M. · Jun 17 at 06:50 PM · Authentication

Is it possible to authenticate Playfab with Steam on a React website with Steam Passport?,Is it possible to authenticate with Steam in a React website with Steam Passport?

I'd like to make a website where users can login through steam in order to view their stats and update player title data. Does the Steam Passport React authentication strategy contain the appropriate Steam Ticket for the playfab call or is there a better solution to authenticate players through Steam on the website?

Thanks

,

I'm looking to create a website where users can view their statistics and also update player title data. I'm just wondering if it's possible to get the correct Steam Ticket from the Steam Passport authentication strategy in React, or if I'll need to use another solution to get the appropriate ticket.

Thanks

Comment

People who like this

0 Show 2
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Ollie M. · Jun 17 at 06:55 PM 0
Share

The question posted twice after I tried to post it, clicked login and post and what I had written disappeared so I rewrote it and now it's added both versions to the same question

avatar image Ollie M. · Jun 17 at 07:07 PM 0
Share

I've seen that it's possible to get a JWT token from Steam Passport, potentially like this:

https://stackoverflow.com/questions/32844596/combining-a-passport-openid-stategy-with-jwt

Would this be the correct token for the Login with Steam playfab call?

2 Replies

· Add your reply
  • Sort: 
avatar image

Answer by Ollie M. · Jun 17 at 07:30 PM

Thinking about it can I just use the returned Steam ID with GetPlayFabIDsFromSteamIDs() and then I can update title data using that?

Comment

People who like this

0 Show 0 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Made Wang · Jun 20 at 09:39 AM

What LoginWithSteam needs is a SteamTicket returned by GetAuthSessionTicket. Does the Steam-Passport you are using return such a Token? We are not experts on steam, we recommend that you seek professional support in the steam community.

Is Steam-Passport an OpenId authentication method? PlayFab provides LoginWithOpenIdConnect and LinkOpenIdConnect, is this what you need?

For Title Data, refer to SetTitleData, which does not require PlayFabId. For the client side, you can call SetTitleData through Azure Function Cloud Script, and for the server side, if you have configured SecretKey, you can call it directly. If you are talking about Player Data, and the steam account has been linked with the PlayFab account, then the method you are talking about is feasible.

Comment

People who like this

0 Show 0 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    13 People are following this question.

    avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

    Related Questions

    Unity SDK: How to result.toString() to show full results? 1 Answer

    Testing LoginWithIOSDeviceID in Unity Remote 1 Answer

    What is the FacebookInstantGamesSignature? 1 Answer

    HTML5 authentication persistence 1 Answer

    How to redeem matchmaking ticket in Thunderhead and Matchmaker (Preview)? 1 Answer

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges